Mapping of jack source to ALSA
From Opendigitalradio
(Difference between revisions)
(New page: In order to map jack source to ALSA (to use aplay or arecord for example), create (or edit) .asoundrc in your home directory and add the following (or get inspired by this example): pcm...) |
Latest revision as of 16:32, 7 July 2011
In order to map jack source to ALSA (to use aplay or arecord for example), create (or edit) .asoundrc in your home directory and add the following (or get inspired by this example):
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 } }
Reference: http://www.alsa-project.org/main/index.php/Asoundrc#JACK_plugin