Open peder82 opened 2 years ago
A bit more info
>>> import sounddevice as sd
>>> print(sd.get_portaudio_version())
(1246720, 'PortAudio V19.6.0-devel, revision 396fe4b6699ae929d3a685b3ef8a7e97396139a4')
>>> print(sd._libname)
libportaudio.so.2
user@ubuntu:~$ uname -a
Linux ubuntu 5.15.0-40-generic #43-Ubuntu SMP Wed Jun 15 12:54:21 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
The information about input and output channels comes from the PortAudio library.
Maybe you can try the latest version, v19.7 should be available.
If there is no package, you can try to compile it from source.
If this doesn't help, you should ask the PortAudio people: http://portaudio.com/contacts.html
Same sounddevice.query_devices (microphone) missing issues as @peder82. I've tried the latest PortAudio version (v19.7), no success.
When I am listing devices with sound device, I am missing my Desk Digital Audio microphone, it only shows output (0in, 2out)!
With aplay and arecord my desk digital audio have both speaker and microphone, and inside ubuntu sound settings it works fine with both speaker and microphone.
How to troubleshoot the missing device?