diff options
-rw-r--r-- | pyagl/services/audiomixer.py | 6 |
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(): |