alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* double dai question and analog paths
@ 2012-08-31 17:11 Raffaele Recalcati
  0 siblings, 0 replies; only message in thread
From: Raffaele Recalcati @ 2012-08-31 17:11 UTC (permalink / raw)
  To: alsa-devel

I can play succesfully each of the following substreams:

static struct snd_soc_dai_link omap3baia_dai[] = {
        {
                .name = "TLV320AIC31",
                .stream_name = "AIC31",
                .cpu_dai_name = "omap-mcbsp-dai.3",
                .codec_dai_name = "tlv320aic3x-hifi",
                .platform_name = "omap-pcm-audio",
                .codec_name = "tlv320aic3x-codec.2-0018",
                .init = omap3baia_tlvaic31_init,
                .ops = &omap3baia_tlvaic31_ops,
        },
        {
                .name = "TWL4030",
                .stream_name = "TWL4030",
                .cpu_dai_name = "omap-mcbsp-dai.1",
                .platform_name = "omap-pcm-audio",
                .codec_dai_name = "twl4030-hifi",
                .codec_name = "twl4030-codec",
                .init = omap3baia_twl4030_init,
                .ops = &omap3baia_twl4030_ops,
        },
};

I have also some analog connections between TWL4030 and TLV320AIC31
and I'd like to create an automatic audio path (for example from
TWL4030 HFL to TLV320AIC31 LINE2L), but I obtain
"Failed to add route Virtual Tps to Tlv->LINE2L"

static const struct snd_soc_dapm_route audio_map_twl4030[] = {
        {"Virtual Tps to Tlv", NULL, "HFL"}, /* from tps to tlv */
        {"LINE2L", NULL, "Virtual Tps to Tlv"}, /* from tps to tlv */
};

Because LINE2L is obviously defined inside TWL4030 codec.

static const struct snd_soc_dapm_widget dapm_widgets_twl4030[] = {
        SND_SOC_DAPM_OUTPUT("Virtual Tps to Tlv"),
};

Is there a clean way to manage this situation?
I have also tried without "Virtual Tps to Tlv" but the problem is the same.

Thx,
Raffaele

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-08-31 17:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-31 17:11 double dai question and analog paths Raffaele Recalcati

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).