[alsa-devel] [PATCH v2 2/3] ASoC: topology: Add FE DAIs dynamically

Mengdong Lin mengdong.lin at linux.intel.com
Tue Feb 16 06:35:09 CET 2016



On 01/27/2016 05:56 PM, Lars-Peter Clausen wrote:
> On 01/15/2016 09:13 AM, mengdong.lin at linux.intel.com 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


More information about the Alsa-devel mailing list