Fixed typo converting 4 channel audio to 2 channel
This commit is contained in:
parent
063e162d7d
commit
14a98894c7
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue