Skip to content

Handle ALSA devices when PortAudio reports no matching output#263

Draft
Copilot wants to merge 3 commits into
mainfrom
copilot/fix-no-output-device-matching
Draft

Handle ALSA devices when PortAudio reports no matching output#263
Copilot wants to merge 3 commits into
mainfrom
copilot/fix-no-output-device-matching

Conversation

Copilot AI commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Raw ALSA device names listed by sendspin audio-devices list could still fail at startup when PortAudio raised No output device matching .... This affected valid devices such as hw:CARD=sndrpihifiberry,DEV=0.

  • Device resolution

    • Treat PortAudio’s No output device matching ... response as a lookup miss, not a hard device failure.
    • Accept the requested device only if it is present in aplay -L.
  • Regression coverage

    • Added coverage for ALSA-only hw:CARD=...,DEV=... devices rejected by PortAudio but listed by ALSA.
sendspin daemon --audio-device hw:CARD=sndrpihifiberry,DEV=0

Copilot AI linked an issue Jun 8, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Fix error: No output device matching for audio Handle ALSA devices when PortAudio reports no matching output Jun 8, 2026
Copilot AI requested a review from balloob June 8, 2026 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error: No output device matching

2 participants