diff options
-rw-r--r-- | OpenAL32/alSource.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c index 8cbb23e8..63b02141 100644 --- a/OpenAL32/alSource.c +++ b/OpenAL32/alSource.c @@ -229,7 +229,6 @@ static ALenum SetSourcefv(ALsource *Source, ALCcontext *Context, ALenum name, co Source->NeedsUpdate = AL_TRUE; break; - default: RETERR(AL_INVALID_ENUM); } @@ -1237,6 +1236,10 @@ AL_API ALvoid AL_APIENTRY alSourcedvSOFT(ALuint source, ALenum param, const ALdo SetSourcefv(Source, Context, param, fvals); break; + case AL_SEC_OFFSET_LATENCY_SOFT: + alSetError(Context, AL_INVALID_OPERATION); + break; + default: alSetError(Context, AL_INVALID_ENUM); } @@ -1473,6 +1476,10 @@ AL_API void AL_APIENTRY alSourcei64vSOFT(ALuint source, ALenum param, const ALin SetSourcei64v(Source, Context, param, values); break; + case AL_SAMPLE_OFFSET_LATENCY_SOFT: + alSetError(Context, AL_INVALID_OPERATION); + break; + default: alSetError(Context, AL_INVALID_ENUM); } |