Merge commit '21349901ea250483600cbe4771d865cc06f6b538' into main

This commit is contained in:
Sam Lantinga 2021-05-07 12:28:22 -07:00
commit 9cf1b39162
1 changed files with 2 additions and 2 deletions

View File

@ -353,9 +353,9 @@ SDL_Convert51To71(SDL_AudioCVT * cvt, SDL_AudioFormat format)
rs = (rf + rb) * 0.5f; rs = (rf + rb) * 0.5f;
/* !!! FIXME: these four may clip */ /* !!! FIXME: these four may clip */
lf += lf - ls; lf += lf - ls;
rf += rf - ls; rf += rf - rs;
lb += lb - ls; lb += lb - ls;
rb += rb - ls; rb += rb - rs;
dst[3] = src[3]; /* LFE */ dst[3] = src[3]; /* LFE */
dst[2] = src[2]; /* FC */ dst[2] = src[2]; /* FC */
dst[7] = rs; /* SR */ dst[7] = rs; /* SR */