Mapping of jack source to ALSA

From Opendigitalradio
Jump to: navigation, search

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


Personal tools