From be43c3ac2179712fb704d033627da2d1c17ca08d Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 16 Dec 2018 16:34:40 +0100 Subject: [PATCH] Changed default sound device to index 0 as 'default' is not present on all the systems --- platypush/plugins/sound.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platypush/plugins/sound.py b/platypush/plugins/sound.py index d0c57a74c6..40a88ee14d 100644 --- a/platypush/plugins/sound.py +++ b/platypush/plugins/sound.py @@ -52,8 +52,8 @@ class SoundPlugin(Plugin): super().__init__(*args, **kwargs) - self.input_device = input_device or 'default' - self.output_device = output_device or 'default' + self.input_device = input_device or 0 + self.output_device = output_device or 0 self.playback_state = PlaybackState.STOPPED self.playback_state_lock = RLock() self.playback_paused_changed = Event()