Allow specifying all 4 sample types

ROM-based types will be specified with a separate property
This commit is contained in:
Chris Robinson
2013-12-27 01:08:48 -08:00
parent 307ac564ca
commit 2b772a5607
+1 -1
View File
@@ -165,7 +165,7 @@ AL_API void AL_APIENTRY alFontsoundiSOFT(ALuint id, ALenum param, ALint value)
break;
case AL_SAMPLE_TYPE_SOFT:
if(!(value == 1))
if(!(value >= 1 && value <= 4))
SET_ERROR_AND_GOTO(context, AL_INVALID_VALUE, done);
sound->SampleType = value;
break;