mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-23 16:54:03 +02:00
Fix a bug in the stereo panner effect.
This commit is contained in:
@@ -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
|
|||||||
} 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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user