Page 1 of 1

The background music isn't aware of the game's status

Posted: Tue Nov 08, 2016 6:11 pm
by bjg
If you minimize (or switch out of) the game the background music still plays. It plays even if the session times out and locks down. The screen will turn off, but the music plays. Having the same issue with another game, so it's probably a "standard" implementation, but I don't think this is right.

Re: The background music isn't aware of the game's status

Posted: Wed Nov 09, 2016 1:14 am
by Arioch
In order to play continuously, sound necessarily has to be controlled in a separate thread of execution, and so the sound can sometimes get detached from other game processes. Since many games use the same third-party libraries, they often break in similar ways. :D

Some games have an option to play/not play sound when the game is not the foreground process, but that seems like kind of a fringe feature to me. I do think it would be nice to have a "mute" checkbox so that one doesn't have to rejigger all three volume levels every time you need to temporarily mute the game.

Re: The background music isn't aware of the game's status

Posted: Wed Nov 09, 2016 2:10 am
by bjg
Arioch wrote:Some games have an option to play/not play sound when the game is not the foreground process, but that seems like kind of a fringe feature to me. I do think it would be nice to have a "mute" checkbox so that one doesn't have to rejigger all three volume levels every time you need to temporarily mute the game.
Perhaps you can make that sensor to push that "mute" button (also available through UI). ;)
Maybe make it optional.