*** empty log message ***

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401012
This commit is contained in:
Sam Lantinga 2004-12-13 08:49:17 +00:00
parent 8ffb4063a6
commit d1ea7480a9

View File

@ -486,8 +486,8 @@ void SDL_ConvertSurround(SDL_AudioCVT *cvt, Uint16 format)
case AUDIO_S8: {
Sint8 *src, *dst, lf, rf, ce;
src = cvt->buf+cvt->len_cvt;
dst = cvt->buf+cvt->len_cvt*3;
src = (Sint8 *)cvt->buf+cvt->len_cvt;
dst = (Sint8 *)cvt->buf+cvt->len_cvt*3;
for ( i=cvt->len_cvt; i; --i ) {
dst -= 6;
src -= 2;
@ -661,8 +661,8 @@ void SDL_ConvertSurround_4(SDL_AudioCVT *cvt, Uint16 format)
case AUDIO_S8: {
Sint8 *src, *dst, lf, rf, ce;
src = cvt->buf+cvt->len_cvt;
dst = cvt->buf+cvt->len_cvt*2;
src = (Sint8 *)cvt->buf+cvt->len_cvt;
dst = (Sint8 *)cvt->buf+cvt->len_cvt*2;
for ( i=cvt->len_cvt; i; --i ) {
dst -= 4;
src -= 2;