Skip to content
Browse files
"default" not correctly checked for speaker option
If default is selected, it should do nothing - but because the condition was set to check for "auto" instead of "default", it gives an error log saying that default doesn't exist on the audio device list.
  • Loading branch information
frankgasking committed Mar 7, 2017
1 parent 5029631 commit d54d14feb1c4700dd9d35afc6ec800de6f89dfa9
Showing with 1 addition and 1 deletion.
  1. +1 −1 psychopy/sound/
@@ -135,7 +135,7 @@ def setDevice(dev, kind=None):
# a single option
dev = prefs.general['audioDevice']
# is it simply "default" (do nothing)
if dev=='auto' or travisCI:
if dev=='default' or travisCI:
pass # do nothing
elif dev not in backend.getDevices(kind='output'):
devNames = backend.getDevices(kind='output').keys()

0 comments on commit d54d14f

Please sign in to comment.