]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
snd_mutewhenidle: add only-when-minimised mode, fix cl_capturevideo compat, cleanup
authorbones_was_here <bones_was_here@xonotic.au>
Sun, 25 Aug 2024 02:43:30 +0000 (12:43 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Thu, 12 Sep 2024 13:51:11 +0000 (23:51 +1000)
commit58de196cfa843ad052291cd35be3ebd29e57efcc
tree0fddb0147f880eca09a2dd915eec4076213c1c82
parent290977b6ddee64cc07d95f80bdaf45a3503baf85
snd_mutewhenidle: add only-when-minimised mode, fix cl_capturevideo compat, cleanup

Maybe snd_mutewhenidle 2 should be the default?

When inactive/minimised with snd_mutewhenidle enabled, the audio capture
was unreliable and sound was sometimes output when it should have been
muted.
Closes https://gitlab.com/xonotic/darkplaces/-/issues/92
(the video issue was already fixed).

Timedemos now share the same mute implementation as snd_mutewhenidle.

Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
cl_screen.c
snd_main.c
snd_main.h
snd_mix.c
snd_null.c
snd_sdl.c
vid_sdl.c