Skip to content

fix: Convert device ID -1 to None for sounddevice compatibility#27

Open
mverteuil wants to merge 1 commit intomainfrom
fix/audio-device-none
Open

fix: Convert device ID -1 to None for sounddevice compatibility#27
mverteuil wants to merge 1 commit intomainfrom
fix/audio-device-none

Conversation

@mverteuil
Copy link
Owner

Summary

  • Fix audio capture failing with "Error querying device -1"
  • sounddevice expects None for default device, not -1
  • The config uses -1 to indicate "use default device" but sounddevice.InputStream doesn't accept it

Test plan

  • Verified audio_capture service starts successfully in Docker
  • Verified audio stream captures at 48000Hz

sounddevice expects None for default device, not -1. The config uses
-1 to indicate "use default device" but sounddevice.InputStream raises
"Error querying device -1" when passed -1 directly.
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.

1 participant