Add a "Mute Audio" hotkey

This commit is contained in:
Kewlan committed 2020-06-26 06:03:29 +02:00
1 parent d11baf8bf8
commit 3eb8efc095
6 files changed
+17 -3

No files matched your search

+7
View File
@@ -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;
}