aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdi Feschiyan <edi.feschiyan@konsulko.com>2021-05-05 22:23:33 +0300
committerEdi Feschiyan <edi.feschiyan@konsulko.com>2021-05-05 22:23:33 +0300
commit137a32d3b0068e2141ed9aab23d8a8956c0cb094 (patch)
tree5e6cfb9b40eab48e2452b0bffe170ac684421b81
parent5a7414cbc1b371f4b83f94eaaf7501765b6bec26 (diff)
Update audiomixer binding default controllamprey_11.91.0lamprey/11.91.0
The latest uprev to pipewire changes the default control name from "Master" to "Playback Master". This change fixes that so CI and tests pass. Bug-AGL: SPEC-3907 Signed-off-by: Edi Feschiyan <edi.feschiyan@konsulko.com> Change-Id: If6c0a482a4c6fd7f64f1c7a8bb3f70fddd9a5332
-rw-r--r--pyagl/services/audiomixer.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyagl/services/audiomixer.py b/pyagl/services/audiomixer.py
index 8a7743f..23d382e 100644
--- a/pyagl/services/audiomixer.py
+++ b/pyagl/services/audiomixer.py
@@ -42,14 +42,14 @@ class AudioMixerService(AGLBaseService):
async def list_controls(self):
return await self.request('list_controls')
- async def volume(self, control='Master', value=None):
+ async def volume(self, control='Master Playback', value=None):
if value is not None:
return await self.request('volume', {'control': control, 'value': value})
else:
return await self.request('volume', {'control': control})
- async def mute(self, value=None):
- return await self.request('mute', {'control': 'Master', 'value': value})
+ async def mute(self, control='Master Playback', value=None):
+ return await self.request('mute', {'control': control, 'value': value})
async def main():