Im trying to get the feed of the mic using "sounddevice" library in Python.
import sounddevice as sd
print(sd.query_devices())
But it returns empty list.
I tried arecord -f cd -d 6 test.wav
to record a voice note and it works fine. Also i checked the mic using online voice recorder tools where the mic works fine. Any idea what could be the possible error ?