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 e1b2069 commit 78e1323Copy full SHA for 78e1323
src/arduino/app_peripherals/speaker/__init__.py
@@ -153,7 +153,7 @@ def _list_usb_speakers() -> list:
153
desc_str = desc[1] if isinstance(desc, tuple) else str(desc)
154
if "usb" in card_name.lower() or "usb" in desc_str.lower():
155
# Find all plughw devices for this card
156
- for dev in alsaaudio.pcms(alsaaudio.PCM_CAPTURE):
+ for dev in alsaaudio.pcms(alsaaudio.PCM_PLAYBACK):
157
if dev.startswith("plughw:CARD=") and f"CARD={card_name}" in dev:
158
usb_devices.append(dev)
159
except Exception as e:
0 commit comments