diff options
Diffstat (limited to 'Alc/mixer.c')
-rw-r--r-- | Alc/mixer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c index ecf3d062..76ae9d86 100644 --- a/Alc/mixer.c +++ b/Alc/mixer.c @@ -749,9 +749,9 @@ ALvoid MixSource(ALsource *Source, ALCdevice *Device, ALuint SamplesToDo) const ALbuffer *ALBuffer; if((ALBuffer=BufferListItem->buffer) != NULL) { - FrameSize = aluFrameSizeFromFormat(ALBuffer->format); FmtChannels = ALBuffer->FmtChannels; FmtType = ALBuffer->FmtType; + FrameSize = FrameSizeFromFmt(FmtType, FmtChannels); break; } BufferListItem = BufferListItem->next; |