mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
comment fixups
This commit is contained in:
parent
6b2d5b6d64
commit
6342a9bdd7
1 changed files with 2 additions and 3 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue