[PlanetCCRMA] Virtual Alsa->Jack devices

Mark Knecht Mark Knecht <markknecht@gmail.com>
Mon Mar 7 18:56:02 2005


Hi,
   Aaron & I were looking at a problem today. I ran across this code
stub on the Alsa site which is supposed to create a virtual Alsa
device which allow an Alsa app to tie into the Jack hierarchy:

http://www.alsa-project.org/alsa-doc/doc-php/asoundrc.php?company=Generic&card=Generic&chip=Generic&module=Generic

and in .asoudrc"

        pcm.jackplug {
               type plug
               slave { pcm "jack" }
       }

       pcm.jack {
               type jack
               playback_ports {
                      0 alsa_pcm:playback_1
                      1 alsa_pcm:playback_2
              }
               capture_ports {
                      0 alsa_pcm:capture_1
                       1 alsa_pcm:capture_2
               }
       }

I tried it but it doesn't work for me. Is this due to my use of an RME
card or is this example on the Alsa site bogus?

Thanks for any responses to this sort of OT question.

cheers,
Mark