mirror of https://github.com/encounter/SDL.git
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