Re: which are the pieces of ALSA source code responsibleforsetting sample rate ?

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

 



On Tue, 01 Jul 2008 18:30:41 +0400
Sergei Steshenko <steshenko_sergei@xxxxxxx> wrote:

> For example, if there is an array per card with supported sample rate, to exclude from the array all but one sample rate I need in
> a given version.
> 
> And that was/is the essence of my question - which are the pieces of code ?

You have to search for struct snd_pcm_hardware and change .rates, .rate_min,
.rate_max. That struct is often a constant, but if the driver of you card
fills it at runtime, you have some more work to do.



--
Giuliano.

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
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