mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-10-09 09:38:56 +00:00
Audio: Add option to AudioPane to temporarily mute audio when emulation speed limit is disabled.
This commit is contained in:
parent
de67c4c93b
commit
a56a27a219
5 changed files with 41 additions and 1 deletions
|
@ -280,6 +280,8 @@ const Info<std::string> MAIN_AUDIO_BACKEND{{System::Main, "DSP", "Backend"},
|
|||
AudioCommon::GetDefaultSoundBackend()};
|
||||
const Info<int> MAIN_AUDIO_VOLUME{{System::Main, "DSP", "Volume"}, 100};
|
||||
const Info<bool> MAIN_AUDIO_MUTED{{System::Main, "DSP", "Muted"}, false};
|
||||
const Info<bool> MAIN_AUDIO_MUTE_ON_DISABLED_SPEED_LIMIT{
|
||||
{System::Main, "DSP", "MuteOnDisabledSpeedLimit"}, false};
|
||||
#ifdef _WIN32
|
||||
const Info<std::string> MAIN_WASAPI_DEVICE{{System::Main, "DSP", "WASAPIDevice"}, "Default"};
|
||||
#endif
|
||||
|
|
|
@ -167,6 +167,7 @@ extern const Info<bool> MAIN_DUMP_UCODE;
|
|||
extern const Info<std::string> MAIN_AUDIO_BACKEND;
|
||||
extern const Info<int> MAIN_AUDIO_VOLUME;
|
||||
extern const Info<bool> MAIN_AUDIO_MUTED;
|
||||
extern const Info<bool> MAIN_AUDIO_MUTE_ON_DISABLED_SPEED_LIMIT;
|
||||
#ifdef _WIN32
|
||||
extern const Info<std::string> MAIN_WASAPI_DEVICE;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue