On 01/27/2016 05:56 PM, Lars-Peter Clausen wrote:
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
Yes, we can directly set the stream's rates, rate_min and rate_max from
the topology caps. I revised this as you suggested in v3.
Sorry for the late reply. I'm just back from a two weeks CNY holiday.
Thanks
Mengdong
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel