From dfe3beeb4f889dfe0e52b17d67f02e19cc4285bb 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 --- 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)