Skip to contentSkip to conversation

ALSA SOC VI API's for 2 PCM DEVICE ON SAME CARD

DISCUSSION dinesh 2 participants 2 messages Sep 5, 2008

lore
Share & tools
lore

dinesh

author
#0 lore raw

Hi,

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.

Thanks,
Dinesh

#1 lore raw
Quoted 6 lines · dinesh

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.