faebser/azure-ai-code

get pulseaudio default device progamatically

Closed this issue · 2 comments

because pulseaudio is a bitch we need to find the default device in code.

From https://github.com/alphacep/vosk-api/blob/master/python/example/test_microphone.py:
help='input device (numeric ID or substring)
Seems to be as as easy as this: just use "default" or "pulse" as ID value.

was fixed in 5574d7d