Optimize Bluetooth volume control latency and fix WirePlumber startup race
This commit is contained in:
1 parent
85bf18ec32
commit
c7cdde6734
30 files changed
+514
-185
No files matched your search
@@ -739,9 +739,9 @@ class PhoneController {
|
||||
alsa_.setInteger("ADC2 Volume", it.value ? 7 : 0);
|
||||
alsa_.setInteger("TX1 Digital Volume", it.value ? 84 : 0);
|
||||
runAsyncCmd(it.value
|
||||
? "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ 0 >/dev/null 2>&1; "
|
||||
? "pactl set-source-mute @DEFAULT_SOURCE@ 0 >/dev/null 2>&1; "
|
||||
"sxmo_hook_statusbar.sh volume >/dev/null 2>&1"
|
||||
: "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ 1 >/dev/null 2>&1; "
|
||||
: "pactl set-source-mute @DEFAULT_SOURCE@ 1 >/dev/null 2>&1; "
|
||||
"sxmo_hook_statusbar.sh volume >/dev/null 2>&1");
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user