Merge pull request #56375 from Cnidarias/ogg_missing_right_channel
Fix OGG Vorbis playback with more than one channel
This commit is contained in:
commit
cd91f91d40
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ int AudioStreamPlaybackOGGVorbis::_mix_frames_vorbis(AudioFrame *p_buffer, int p
|
|||
if (info.channels > 1) {
|
||||
for (int frame = 0; frame < frames; frame++) {
|
||||
p_buffer[frame].l = pcm[0][frame];
|
||||
p_buffer[frame].r = pcm[0][frame];
|
||||
p_buffer[frame].r = pcm[1][frame];
|
||||
}
|
||||
} else {
|
||||
for (int frame = 0; frame < frames; frame++) {
|
||||
|
|
Loading…
Reference in a new issue