Re: [topic/asoc][RFC 0/1] ASoC: OMAP: Add support for mono link configuration to McBSP DAI

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

 



On Mon, Nov 24, 2008 at 03:09:23PM +0200, Jarkko Nikula wrote:

> I'm trying to cover also pure mono codecs like bluetooth audio with McBSP DAI
> driver. Protocol part is trivial like patch here but interfacing with machine
> driver is somewhat question mark.

>  struct snd_soc_dai omap_mcbsp_dai[] = {

> +	OMAP_MCBSP_DAI_BUILDER(0, 2, 2),
> +	OMAP_MCBSP_DAI_BUILDER(1, 2, 2),

...

> +struct snd_soc_dai omap_mcbsp_dai_mono[] = {
> +	OMAP_MCBSP_DAI_BUILDER(0, 1, 1),
> +	OMAP_MCBSP_DAI_BUILDER(1, 1, 1),

Is it not possible to have the DAI switch between mono and stereo at
runtime rather than having a DAI for each?  That's the normal approach.
The core should constrain things based on the capabilities of the
connected device.
_______________________________________________
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