aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/mixer.c')
-rw-r--r--Alc/mixer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c
index 020375da..9f19d5df 100644
--- a/Alc/mixer.c
+++ b/Alc/mixer.c
@@ -705,7 +705,7 @@ ALvoid MixSource(ALsource *Source, ALCdevice *Device, ALuint SamplesToDo)
{
FmtChannels = ALBuffer->FmtChannels;
FmtType = ALBuffer->FmtType;
- FrameSize = FrameSizeFromFmt(FmtType, FmtChannels);
+ FrameSize = FrameSizeFromFmt(FmtChannels, FmtType);
break;
}
BufferListItem = BufferListItem->next;