Add a "Mute Audio" hotkey
This commit is contained in:
parent
d11baf8bf8
commit
3eb8efc095
6 changed files with 17 additions and 3 deletions
|
@ -127,6 +127,13 @@ void LogSettings() {
|
|||
LogSetting("Services_BCATBoxcatLocal", Settings::values.bcat_boxcat_local);
|
||||
}
|
||||
|
||||
float Volume() {
|
||||
if (values.audio_muted) {
|
||||
return 0.0f;
|
||||
}
|
||||
return values.volume;
|
||||
}
|
||||
|
||||
bool IsGPULevelExtreme() {
|
||||
return values.gpu_accuracy == GPUAccuracy::Extreme;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue