andrewrk / libsoundio

C library for cross-platform real-time audio input and output
http://libsound.io/
MIT License
1.92k stars 229 forks source link

can't detect default capture changed using alsa backend #237

Open bitbegin opened 4 years ago

bitbegin commented 4 years ago

run ./sio_list_devices --backend alsa --watch, then changed the default capture, it can't detect devices changed.

the alsa backend watch /dev/snd folder to detect devices changed, this way seems not work. pulseaudio use udev to detect devices changed, and it works.