Re: [LAD] Merging alsa subdevices into multichannel

From: Eliot Blennerhassett <linux@email-addr-hidden>
Date: Fri Nov 21 2008 - 00:25:36 EET

On Thursday 20 November 2008 13:45:41 Jens M Andreasen wrote:
> On Thu, 2008-11-20 at 09:00 +1300, Eliot Blennerhassett wrote:
> > Hmmm. Sorry I can't help further, I only know how to set it up when it
> > does work ;)
>
> Your code actually works just fine when used directly at the C-level.
> Any chance of an annotated version - that reads a little like a brief
> tutorial - of the 4 channel merger?

I added a section here.
http://alsa.opensrc.org/index.php/.asoundrc#Joining_devices_to_make_multichannel

My code is derived from the documentation of multi plugin found here
http://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html

except instead of defining separate route and multi plugins, I nest all the
plugin defs so that only one set of $CARD,$DEV,$SUBDEV parameters are
required. As you see in the above example, if you have fixed devices the
setup is much less verbose.

regards

-- 
--
Eliot Blennerhassett
www.audioscience.com
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Fri Nov 21 04:15:01 2008

This archive was generated by hypermail 2.1.8 : Fri Nov 21 2008 - 04:15:02 EET