Changed default sound device to index 0 as 'default' is not present on all the systems
This commit is contained in:
parent
20a779bd8f
commit
be43c3ac21
1 changed files with 2 additions and 2 deletions
|
@ -52,8 +52,8 @@ class SoundPlugin(Plugin):
|
||||||
|
|
||||||
super().__init__(*args, **kwargs)
|
super().__init__(*args, **kwargs)
|
||||||
|
|
||||||
self.input_device = input_device or 'default'
|
self.input_device = input_device or 0
|
||||||
self.output_device = output_device or 'default'
|
self.output_device = output_device or 0
|
||||||
self.playback_state = PlaybackState.STOPPED
|
self.playback_state = PlaybackState.STOPPED
|
||||||
self.playback_state_lock = RLock()
|
self.playback_state_lock = RLock()
|
||||||
self.playback_paused_changed = Event()
|
self.playback_paused_changed = Event()
|
||||||
|
|
Loading…
Reference in a new issue