Skip to content
Browse files
Updated Channel field to the correct valType: int (#2425)
Wrong valType caused ExpBuilder to generate wrong attribute for AdvAudioCapture
  • Loading branch information
wilfrid-li authored and peircej committed Jun 17, 2019
1 parent a58ade0 commit dadb9be2583012715409d1a8aa59b495815cd474
@@ -56,7 +56,7 @@ def __init__(self, exp, parentName, name='mic_1',

msg = _translate("Enter a channel number. Default value is 0. If unsure, run 'sound.backend.get_input_devices()' to locate the system's selected device/channel.")

self.params['channel'] = Param(channel, valType='str', hint=msg, label=_localized['channel'])
self.params['channel'] = Param(channel, valType='int', hint=msg, label=_localized['channel'])
def writeStartCode(self, buff):
# filename should have date_time, so filename_wav should be unique
buff.writeIndented("wavDirName = filename + '_wav'\n")
@@ -2362,7 +2362,7 @@

0 comments on commit dadb9be

Please sign in to comment.