Skip to content

Commit

Permalink
Fade volume fix by Xavier Wielemans.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jun 12, 2002
1 parent e752068 commit 7839661
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mixer.c
Expand Up @@ -175,7 +175,7 @@ static void mix_channels(void *udata, Uint8 *stream, int len)
if( mix_channel[i].fading == MIX_FADING_OUT ) {
mix_channel[i].playing = 0;
mix_channel[i].expire = 0;
Mix_Volume(i, mix_channel[i].fading); /* Restore the volume */
Mix_Volume(i, mix_channel[i].fade_volume); /* Restore the volume */
}
mix_channel[i].fading = MIX_NO_FADING;
} else {
Expand Down

0 comments on commit 7839661

Please sign in to comment.