[alsa-devel] [PATCH] ASoC: rt5640: add ASRC support

Bard Liao bardliao at realtek.com
Mon Jun 30 08:09:53 CEST 2014


> -----Original Message-----
> From: Lars-Peter Clausen [mailto:lars at metafoo.de]
> Sent: Friday, June 27, 2014 10:05 PM
> To: Bard Liao; broonie at kernel.org; lgirdwood at gmail.com
> Cc: Oder Chiou; alsa-devel at alsa-project.org; Flove
> Subject: Re: [alsa-devel] [PATCH] ASoC: rt5640: add ASRC support
> 
> 
> I wonder if that shouldn't be something that is automatically
> enabled/disabled based on the samplerates involved. Also for
> enable/disable controls use a switch control rather than a enum.

To turn on/off rt5640's ASRC function is not decided by only one
condition. To make it flexible, I prefer to use a control to enable/
disable ASRC function.
Do you mean SOC_SINGLE_EXT? I didn't find a _SWITCH control
in soc.h

> 
> - Lars
> 
> ------Please consider the environment before printing this e-mail.


More information about the Alsa-devel mailing list