From 0bc94787cb565a7a8b5232aa8ea216a9809e1f50 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Mon, 9 Apr 2012 18:21:41 +0200 Subject: [PATCH] Fixed: Do not mess with the order of the old TSampleFormat enum --HG-- branch : sound_dev --- code/nel/include/nel/sound/driver/sound_driver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/nel/include/nel/sound/driver/sound_driver.h b/code/nel/include/nel/sound/driver/sound_driver.h index 193026a42..2fa450249 100644 --- a/code/nel/include/nel/sound/driver/sound_driver.h +++ b/code/nel/include/nel/sound/driver/sound_driver.h @@ -41,7 +41,7 @@ namespace NLSOUND /* * Sound sample format */ -enum TSampleFormat { SampleFormatUnknown, Mono8, Mono16ADPCM, Mono16, Stereo8, Stereo16 }; +enum TSampleFormat { Mono8, Mono16ADPCM, Mono16, Stereo8, Stereo16, SampleFormatUnknown = (~0) }; /** * Abstract sound driver (implemented in sound driver dynamic library)