[alsa-devel] How to find sampling rate supported

reetesh chandran reeteshchandran at yahoo.com
Sun Mar 22 17:00:00 CET 2009

Hi all,

I am new to the group and to Alsa.

For our project, we have to find the max sampling rate and other pcm hardware parameters that the connected USB headset supports. I looked at the alsa library, but could not find an API which returned this information. 

I found snd_pcm_hw_params_test_* function to test a specific value is supported, but I was wondering if there was a way to query the device to get the values. 

Thanks in advance,


More information about the Alsa-devel mailing list