Skip to content

Commit

Permalink
*** empty log message ***
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Dec 13, 2004
1 parent 1f30449 commit 7aa151b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/audio/SDL_audiocvt.c
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 7aa151b

Please sign in to comment.