Re: ALSA: How to create multiple cards?

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

 



Dear Truong,


Am Donnerstag, den 05.08.2010, 20:11 -0700 schrieb Truong Hoang:

> I have a problem that I need help from the ALSA experts.
> 
> I want to write an alsa shim .ko which creates multiple cards. Let's assume
> 2 cards. My program calls
> snd_card_create() and snd_card_register() two times. I also has 1 PCM for
> each of these card.
> 
> After install the .ko to the kernal, I see the /proc/asound has card0 and
> card1. But the "aplay -l" sees only card0. The snd_card_next() only returns
> 0 (i.e. 1 card).
> What did I miss in my program? The /dev/snd/ has only hwC0D0 and pcmD0C0p.
> 
> I am a beginner in ALSA, so I appreciate if you can give the explanation in
> detail.

please attach your source code so the experts – not me – can point out
what is missing.


Thanks,

Paul

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
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