Add a "Mute Audio" hotkey

This commit is contained in:
Kewlan 2020-06-25 21:05:03 +02:00
parent d11baf8bf8
commit 3eb8efc095
6 changed files with 17 additions and 3 deletions

View file

@ -459,6 +459,7 @@ struct Values {
bool use_dev_keys;
// Audio
bool audio_muted;
std::string sink_id;
bool enable_audio_stretching;
std::string audio_device_id;
@ -490,6 +491,8 @@ struct Values {
std::map<u64, std::vector<std::string>> disabled_addons;
} extern values;
float Volume();
bool IsGPULevelExtreme();
bool IsGPULevelHigh();