We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c9e9f2 commit c97da3bCopy full SHA for c97da3b
examples/rec_gui.py
@@ -58,10 +58,10 @@ def update_device_list(*args):
58
device_ids = [
59
idx
60
for idx in hostapi['devices']
61
- if sd.query_devices(idx)['max_output_channels'] > 0]
+ if sd.query_devices(idx)['max_input_channels'] > 0]
62
device_list['values'] = [
63
sd.query_devices(idx)['name'] for idx in device_ids]
64
- default = hostapi['default_output_device']
+ default = hostapi['default_input_device']
65
if default >= 0:
66
device_list.current(device_ids.index(default))
67
device_list.event_generate('<<ComboboxSelected>>')
0 commit comments