Re: [linux-audio-user] capturing through plugins

From: Emanuel Rumpf <x@email-addr-hidden>
Date: Fri Feb 17 2006 - 16:54:55 EET

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"
}
Received on Fri Feb 17 20:15:05 2006

This archive was generated by hypermail 2.1.8 : Fri Feb 17 2006 - 20:15:05 EET