Skip to content
Permalink
Browse files

*** empty log message ***

  • Loading branch information
slouken committed Dec 13, 2004
1 parent 1f30449 commit 7aa151bf04758d7615c9466dfc6c49030cce88bf
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/audio/SDL_audiocvt.c
@@ -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;

0 comments on commit 7aa151b

Please sign in to comment.