]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
Add cvar snd_cdautopause: optional CD track pause during game pause
authorbones_was_here <bones_was_here@xa.org.au>
Fri, 18 Mar 2022 07:28:57 +0000 (17:28 +1000)
committerbones_was_here <bones_was_here@xa.org.au>
Mon, 21 Mar 2022 22:22:39 +0000 (08:22 +1000)
commitc6fe51c93d8d1216aa6aa924937fdf768e6304cc
treee0831de48f5a04bfe08f5606496c5623b849ff4a
parentf2b9b8d7f630a2503b35efc8027c2e0930b7b476
Add cvar snd_cdautopause: optional CD track pause during game pause

Previously it was mandatory and if not desired, had to be hacked around
with stuffcmd.

Also fixes:
- the CD track always being resumed when resuming from game pause,
even when muted, Ref: CDAudio_SetVolume()
- bgmvolume < 0 not pausing the CD track

Signed-off-by: bones_was_here <bones_was_here@xa.org.au>
cd_shared.c
cl_parse.c