[alsa-devel] [Alsa-user] How to get set/fixed sample rate of	ALSA device?
    Rene Herman 
    rene.herman at keyaccess.nl
       
    Mon Oct  8 00:27:08 CEST 2007
    
    
  
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.
    
    
More information about the Alsa-devel
mailing list