Re: [PATCH 6/6] ASoC: Beagle: Add support for 4 channel mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 06, 2009 at 03:19:32PM +0300, Peter Ujfalusi wrote:

> +	switch (params_channels(params)) {
> +	case 2: /* Stereo I2S mode */
> +		fmt =	SND_SOC_DAIFMT_I2S |
> +			SND_SOC_DAIFMT_NB_NF |
> +			SND_SOC_DAIFMT_CBM_CFM;
> +		break;
> +	case 4: /* Four channel TDM mode */
> +		fmt =	SND_SOC_DAIFMT_DSP_A |


Might it not be easier to just run in DSP mode all the time?
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux