On 01/15/2016 09:13 AM, mengdong.lin@xxxxxxxxxxxxxxx wrote: [...] > + stream->rates = snd_pcm_rate_range_to_bits(caps->rate_min, > + caps->rate_max); How about just setting stream->rate_min and stream->rate_max? - Lars _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel