aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSource.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-12-06 09:03:48 -0800
committerChris Robinson <[email protected]>2012-12-06 09:03:48 -0800
commitbeb84bdc21bc7d0ba7a66070f14c20cb03ab92a2 (patch)
treea64cabd8d4e8c520f93bca4649fd7eb576ef6263 /OpenAL32/alSource.c
parenta20f1fa779591d9d9515f8c8ede4c33a8183c4a4 (diff)
SetSourceiv should never get AL_SAMPLE_OFFSET_LATENCY_SOFT
Diffstat (limited to 'OpenAL32/alSource.c')
-rw-r--r--OpenAL32/alSource.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c
index bd2e6f65..480e77fe 100644
--- a/OpenAL32/alSource.c
+++ b/OpenAL32/alSource.c
@@ -662,7 +662,6 @@ static ALenum SetSourceiv(ALsource *Source, ALCcontext *Context, SrcIntProp prop
case siSampleRWOffsetsSOFT:
case siByteRWOffsetsSOFT:
- case siSampleOffsetLatencySOFT:
/* Query only */
RETERR(AL_INVALID_OPERATION);
@@ -775,6 +774,10 @@ static ALenum SetSourceiv(ALsource *Source, ALCcontext *Context, SrcIntProp prop
fvals[1] = (ALfloat)values[1];
fvals[2] = (ALfloat)values[2];
return SetSourcefv(Source, Context, (int)prop, fvals);
+
+ case siSampleOffsetLatencySOFT:
+ /* i64 only */
+ break;
}
ERR("Unexpected property: 0x%04x\n", prop);