aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSource.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2009-10-25 06:26:19 -0700
committerChris Robinson <[email protected]>2009-10-25 06:26:19 -0700
commitfe3a43e2d4bbc20cea32a2046404d8eabe9240ee (patch)
tree87414f1b75873a0811f8f7eeb299eaafcf1847ef /OpenAL32/alSource.c
parente095047b0253d5503b5e243c8e18279e3c9b3af2 (diff)
Remove the format and frequency from the source, get them manually
Diffstat (limited to 'OpenAL32/alSource.c')
-rw-r--r--OpenAL32/alSource.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c
index 85b9c966..b606d9fd 100644
--- a/OpenAL32/alSource.c
+++ b/OpenAL32/alSource.c
@@ -535,9 +535,6 @@ ALAPI ALvoid ALAPIENTRY alSourcei(ALuint source,ALenum eParam,ALint lValue)
// Source is now in STATIC mode
pSource->lSourceType = AL_STATIC;
- pSource->Format = buffer->format;
- pSource->Frequency = buffer->frequency;
-
// Add the selected buffer to the queue
pALBufferListItem = malloc(sizeof(ALbufferlistitem));
pALBufferListItem->buffer = buffer;
@@ -1589,9 +1586,6 @@ ALAPI ALvoid ALAPIENTRY alSourceQueueBuffers( ALuint source, ALsizei n, const AL
// Change Source Type
ALSource->lSourceType = AL_STREAMING;
- ALSource->Format = iFormat;
- ALSource->Frequency = iFrequency;
-
if(buffers[0])
buffer = (ALbuffer*)ALTHUNK_LOOKUPENTRY(buffers[0]);