mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-24 11:20:53 +00:00
refactor: skip jukebox init if null audio backend
This commit is contained in:
parent
092cae65be
commit
90f00d35d5
1 changed files with 5 additions and 2 deletions
|
@ -3323,8 +3323,11 @@ void CEXISlippi::ConfigureJukebox()
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
bool no_audio_output = backend.find(BACKEND_NULLSOUND) != std::string::npos;
|
if (backend.find(BACKEND_NULLSOUND) != std::string::npos) {
|
||||||
int dolphin_system_volume = Config::Get(Config::MAIN_AUDIO_MUTED) || no_audio_output ?
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
int dolphin_system_volume = Config::Get(Config::MAIN_AUDIO_MUTED) ?
|
||||||
0 :
|
0 :
|
||||||
Config::Get(Config::MAIN_AUDIO_VOLUME);
|
Config::Get(Config::MAIN_AUDIO_VOLUME);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue