-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Music should stop when changing window #14026
Comments
Other games have a setting for this (ddnet for example). |
@Desour agreed. I think that muting should be the default though |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
I'm pretty sure that the program api can infer if the window is focused. Perhaps in the soft openal implementation at the root when it tries to play sounds it can simply do something like if (!this->focused) {
return;
}
// Rest of procedure
|
This comment was marked as off-topic.
This comment was marked as off-topic.
It must be a setting. Example of use case: I'm often waiting for train and I go on another window until I hear a train is coming. I would not like to stay on my screen doing anything for several minutes, at least most than just muting the sound of my window. I understand that's annoying, but the balance is in favor of, by default, enable the sound. |
I like the approach of osu!lazer (a rhythm game) which has two master volume settings: one for the main master volume and another for the master volume when the window is inactive. This gives players more flexibility in setting sound volume (which can be zero/no-sound). Except the audio offset setting, other settings shown below are in their default value: |
Problem
If you're playing, for instance, a game with background music and you change window, the music keeps playing. If I'm changing window, I'm probably doing something not related to the game, possibly that requires me to focus and detach from the game, thus I expect it to stop
Solutions
Make it stop
Alternatives
Ask people to press M every time (?)
Additional context
I'd consider this a bug but the bug form is off-putting
EDIT: I'll let core devs decide
The text was updated successfully, but these errors were encountered: