[PATCH] ASoC: rt1011: add i2s reference control for rt1011

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Tue Sep 7 16:53:31 CEST 2021



On 9/6/21 5:12 AM, Jack Yu wrote:
> Add i2s reference control for rt1011 amp.
> 
> Signed-off-by: Jack Yu <jack.yu at realtek.com>

> +static const char * const rt1011_i2s_ref[] = {
> +	"None", "Left Channel", "Right Channel"
> +};

> +enum {
> +	RT1011_I2S_REF_NONE,
> +	RT1011_I2S_REF_LEFT_CH,
> +	RT1011_I2S_REF_RIGHT_CH,
> +};

is it possible to get Left-Right-mix (mixed on rt1011) and Left-Right
(two channels, with the application selecting what they want)?



More information about the Alsa-devel mailing list