Re: [Alsa-user] How to get set/fixed sample rate of ALSA device?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/08/2007 12:07 AM, Rene Herman wrote:

> On 10/07/2007 07:04 PM, Peteris Krisjanis wrote:

>> So you suggest to open device via any means and then read that file? I 
>> did this and it works. I guess I can even try to implement it in app
>> and check for sample rate everytime before I play.

Oh, I only notice this now by the way. If you are actually going to play, I 
believe you should just try and set the params you want and see if it works 
(or test them first, through things like snd_pcm_hw_params_test_rate().

Rene.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux