Re: 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.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux