get pulseaudio default device progamatically
Closed this issue · 2 comments
faebser commented
because pulseaudio is a bitch we need to find the default device in code.
lukemodular commented
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.