![](https://secure.gravatar.com/avatar/dc35dbdbf546f7d25487df5e06ab6cb0.jpg?s=120&d=mm&r=g)
On Wed, 2011-03-30 at 23:40 -0700, Patrick Lai wrote:
Hi Liam/Mark,
In the back-end platform driver, routing table and array of widgets are defined to describe interconnection of front-end and back-end. Instead of defining FE and BE as AIF pin using SND_SOC_DAPM_AIF_IN/OUT macros, I would like to use SND_SOC_DAPM_AIF_IN_E/OUT_E macros. Essentially, I want to register event handler to jump start routing in the DSP for a newly activated FE under multiple streams to single HW path scenario. At this time, BE is already activated so I need other mechanism to jump start routing. I could put the logic in my front-end CPU DAI driver. However, I feel that path setup should be handled by DAPM/DSP framework. Hence, I am looking for a good place to trigger calling of event handler in soc-dapm.c/soc-dsp.c. Any suggestion?
So iiuc, your BE is active (with another FE) and you then enable a another FE that is connected to the already active BE ?
It should be possible to add support for the _E() macros in soc-dsp.c, but I'm not sure why it's required atm since we dont need this for OMAP4 ABE.
Liam
Thanks Patrick