Skip to content
Permalink
Browse files

Do not mix music if its volume is zero.

  • Loading branch information
Stephane Peter committed Nov 9, 1999
1 parent 2b4ba31 commit 2e37cba948f8acfeeafc93558ee5fffb294c1cd1
Showing with 3 additions and 0 deletions.
  1. +3 −0 music.c
@@ -157,6 +157,9 @@ void music_mixer(void *udata, Uint8 *stream, int len)
}
}
}
if ( music_volume <= 0 ) { /* Don't mix if volume is null */
return;
}
switch (music_playing->type) {
#ifdef CMD_MUSIC
case MUS_CMD:

0 comments on commit 2e37cba

Please sign in to comment.