From 6342a9bdd71407ba725e561cf717aea7bbc64a30 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sat, 7 Feb 2004 06:21:57 +0000 Subject: [PATCH] comment fixups --- libs/audio/cd/cd_file.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libs/audio/cd/cd_file.c b/libs/audio/cd/cd_file.c index a1914d2d1..244cd2513 100644 --- a/libs/audio/cd/cd_file.c +++ b/libs/audio/cd/cd_file.c @@ -187,15 +187,15 @@ Load_Tracklist (void) return 0; } -/* pause playback of music */ static void I_OGGMus_Pause (void) { - /* just kinda cheat and stop it for the time being */ if (!tracklist || !mus_enabled || !playing) return; if (cd_channel) { + // the sound system will skip a 0 volume channel completely, + // not even updating the sample position cd_channel->master_vol = 0; cd_channel->leftvol = cd_channel->rightvol = 0; } @@ -204,7 +204,6 @@ I_OGGMus_Pause (void) playing = false; } -/* unpause. might just cheat and restart playing */ static void I_OGGMus_Resume (void) {