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