[PlanetCCRMA] Virtual Alsa->Jack devices

Fernando Lopez-Lezcano nando@ccrma.Stanford.EDU
Mon Mar 7 19:22:01 2005


On Mon, 2005-03-07 at 18:55, Mark Knecht wrote:
> 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.

Never used this but it seems it uses the alsa jack plugin, that's in a
package not installed by default, so try:
  apt-get install alsa-lib-jack-plugin

-- Fernando