Skip to content

Commit

Permalink
Fixed typo converting 4 channel audio to 2 channel
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Oct 20, 2017
1 parent 9a291c1 commit e830ef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/audio/SDL_audiocvt.c
Expand Up @@ -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);
}
Expand Down

0 comments on commit e830ef3

Please sign in to comment.