Commit 3c68efb3 authored by David Reid's avatar David Reid

Fix a bug in the stereo panner effect.

parent d8aa6192
...@@ -7476,6 +7476,8 @@ static void ma_stereo_balance_pcm_frames(void* pFramesOut, const void* pFramesIn ...@@ -7476,6 +7476,8 @@ static void ma_stereo_balance_pcm_frames(void* pFramesOut, const void* pFramesIn
} else { } else {
ma_copy_pcm_frames(pFramesOut, pFramesIn, frameCount, format, 2); ma_copy_pcm_frames(pFramesOut, pFramesIn, frameCount, format, 2);
} }
return;
} }
switch (format) { switch (format) {
...@@ -7528,6 +7530,8 @@ static void ma_stereo_pan_pcm_frames(void* pFramesOut, const void* pFramesIn, ma ...@@ -7528,6 +7530,8 @@ static void ma_stereo_pan_pcm_frames(void* pFramesOut, const void* pFramesIn, ma
} else { } else {
ma_copy_pcm_frames(pFramesOut, pFramesIn, frameCount, format, 2); ma_copy_pcm_frames(pFramesOut, pFramesIn, frameCount, format, 2);
} }
return;
} }
switch (format) { switch (format) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment