[linux-audio-user] capturing through plugins

Emanuel Rumpf x at branwelt.de
Fri Feb 17 09:54:55 EST 2006


conrad berhörster wrote:

>somewhere, that it is possible through the alsa-jack plugin, since xine has alsa. 
>the first step is to jackify xine. is there any experience with this topic. 
>  
>

I've had some success with the /etc/asound.conf configuration below.
In gxine select the alsa driver and enter "jackplug" as output-device
(or "default", depending on what you choose)
However- I found, and wonder why, all this alsa plugin stuff is so badly
supported by many apps,
and unreliable ... gxine at least is an app, where it's working to some
degree..
Test your configuration with:
aplay test.wav -D jackplug

Emanuel




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
    }
}



pcm.jackplug {
   
    type plug
    #ipc_perm 0660    # Sound for everybody in your group
   
    slave {
        pcm "jack"
        #period_time 0
        #period_size 256
        #buffer_size 16384
        #rate 48000
    }
   
#    bindings {
#        0 0
#        1 1
#    }
   
}

# enable this, if you want jackplug to be the default device (though
some apps don't like this...) :
pcm.!default {
    type plug
    slave.pcm "jack"
}


# Enable OSS support trough alsa
# don't know if this is working
pcm.dsp0 {
    type plug
    slave.pcm "jack"
}






More information about the Linux-audio-user mailing list