mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Fixed typo converting 4 channel audio to 2 channel
This commit is contained in:
parent
9a291c1e59
commit
e830ef3458
@ -139,7 +139,7 @@ SDL_ConvertQuadToStereo(SDL_AudioCVT * cvt, SDL_AudioFormat format)
|
||||
dst[1] = (src[1] + src[3]) * 0.5f; /* right */
|
||||
}
|
||||
|
||||
cvt->len_cvt /= 3;
|
||||
cvt->len_cvt /= 2;
|
||||
if (cvt->filters[++cvt->filter_index]) {
|
||||
cvt->filters[cvt->filter_index] (cvt, format);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user