mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-13 00:24:12 +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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* pause playback of music */
|
|
||||||
static void
|
static void
|
||||||
I_OGGMus_Pause (void)
|
I_OGGMus_Pause (void)
|
||||||
{
|
{
|
||||||
/* just kinda cheat and stop it for the time being */
|
|
||||||
if (!tracklist || !mus_enabled || !playing)
|
if (!tracklist || !mus_enabled || !playing)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (cd_channel) {
|
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->master_vol = 0;
|
||||||
cd_channel->leftvol = cd_channel->rightvol = 0;
|
cd_channel->leftvol = cd_channel->rightvol = 0;
|
||||||
}
|
}
|
||||||
|
@ -204,7 +204,6 @@ I_OGGMus_Pause (void)
|
||||||
playing = false;
|
playing = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* unpause. might just cheat and restart playing */
|
|
||||||
static void
|
static void
|
||||||
I_OGGMus_Resume (void)
|
I_OGGMus_Resume (void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue