[alsa-devel] ALSA SOC VI API's for 2 PCM DEVICE ON SAME CARD

Mark Brown broonie at sirena.org.uk
Fri Sep 5 19:32:48 CEST 2008


On Fri, Sep 05, 2008 at 12:18:57PM +0530, dinesh wrote:

> Actually i am stuck with a problem i have two register 2 channels of my
> SOC device as 2 different pcm devices on same card.
> But my driver uses ALSA V1 api's and i am not able to find out any
> example code for this using v1 api's.    (SIMILAR TO MPC5200_PSC.C)

> If anyone can help me please.

Several machines have multiple PCMs - the first example that springs to
mind is tosa, see sound/soc/pxa/tosa.c.  Simply register more than one
dai_link in your snd_soc_machine.


More information about the Alsa-devel mailing list