Skip to content

Commit

Permalink
Merge pull request godotengine#11 from lawnjelly/fix_mute_state
Browse files Browse the repository at this point in the history
Fix audio mute state in running projects
  • Loading branch information
lawnjelly authored Mar 30, 2023
2 parents e329f0c + 4d11694 commit 8b924aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion servers/audio_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ void AudioDriverManager::initialize(int p_driver) {
#endif
// Note that these can be set differently on different platforms if desired.
// e.g. Android may want to ensure mute when app paused etc.
_mute_state = mute_driver ? 0 : MuteFlags::MUTE_FLAG_DISABLED;
_mute_state = mute_driver ? MuteFlags::MUTE_FLAG_DISABLED : 0;

// Sensitive to all but focus and quiet mode
_mute_state_mask = MuteFlags::MUTE_FLAG_DISABLED;
Expand Down

0 comments on commit 8b924aa

Please sign in to comment.