hi clements:
2013/8/28 Clemens Ladisch clemens@ladisch.de:
loody wrote:
is it possible to get snd_pcm_hardware information in /proc, /sys or anywhere when usb audio device plug in?
if no, is there api I can take in usermode to get snd_pcm_hardware of this usb audio device?
Something like this? http://download.atmark-techno.com/misc/demos/usb-audio-a500-howto/hw_params....
I download the file and 1. cross-compile it with alsa-lib-1.0.23
but I get below message # ./hw_params no soundcards found...no soundcards found...
but in my /proc/asound/cards, there seems a card exist.
# cat /proc/asound/cards 0 [default ]: USB-Audio - Microsoft LifeChat LX-3000 Microsoft LifeChat LX-3000 at usb-1, full speed
Did I miss anything need to pay attention?
thanks for your kind help,
Regards, Clemens