Search This Blog

2012-06-15

alsa to jackd

apt-get install libasound2-plugins

@ ~/.asoundrc


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

pcm.jack {
    type plug
    slave {pcm "rawjack"}
    hint {
       description "JACK Audio Connection Kit"
     }
}

pcm.!default {
    #type hw
    #card SB
    type plug
    slave {pcm "rawjack"}
}

ctl.!default {
    type hw
    card SB
}