Blame src/conf/cards/Loopback.conf

Packit 4a16fb
#
Packit 4a16fb
# Configuration for the virtual loopback driver (snd-aloop)
Packit 4a16fb
#
Packit 4a16fb
Packit 4a16fb
<confdir:pcm/front.conf>
Packit 4a16fb
Packit 4a16fb
Loopback.pcm.front.0 {
Packit 4a16fb
	@args [ CARD ]
Packit 4a16fb
	@args.CARD {
Packit 4a16fb
		type string
Packit 4a16fb
	}
Packit 4a16fb
	type softvol
Packit 4a16fb
	slave.pcm {
Packit 4a16fb
		type hw
Packit 4a16fb
		card $CARD
Packit 4a16fb
	}
Packit 4a16fb
	control {
Packit 4a16fb
		name "PCM Playback Volume"
Packit 4a16fb
		card $CARD
Packit 4a16fb
	}
Packit 4a16fb
}	
Packit 4a16fb
Packit 4a16fb
# default with dmix+softvol & dsnoop
Packit 4a16fb
Loopback.pcm.default {
Packit 4a16fb
	@args [ CARD ]
Packit 4a16fb
	@args.CARD {
Packit 4a16fb
		type string
Packit 4a16fb
	}
Packit 4a16fb
	type asym
Packit 4a16fb
	playback.pcm {
Packit 4a16fb
		type plug
Packit 4a16fb
		slave.pcm {
Packit 4a16fb
			type softvol
Packit 4a16fb
			slave.pcm {
Packit 4a16fb
				@func concat
Packit 4a16fb
				strings [ "dmix:" $CARD ]
Packit 4a16fb
			}
Packit 4a16fb
			control {
Packit 4a16fb
				name "PCM Playback Volume"
Packit 4a16fb
				card $CARD
Packit 4a16fb
			}
Packit 4a16fb
		}
Packit 4a16fb
	}
Packit 4a16fb
	capture.pcm {
Packit 4a16fb
		type plug
Packit 4a16fb
		slave.pcm {
Packit 4a16fb
			type softvol
Packit 4a16fb
			slave.pcm {
Packit 4a16fb
				@func concat
Packit 4a16fb
				strings [ "dsnoop:" $CARD ]
Packit 4a16fb
			}
Packit 4a16fb
			control {
Packit 4a16fb
				name "Digital Capture Volume"
Packit 4a16fb
				card $CARD
Packit 4a16fb
			}
Packit 4a16fb
			min_dB -30.0
Packit 4a16fb
			max_dB 30.0
Packit 4a16fb
			resolution 121
Packit 4a16fb
		}
Packit 4a16fb
		# to avoid possible phase inversions with digital mics
Packit 4a16fb
		route_policy copy
Packit 4a16fb
	}
Packit 4a16fb
	hint.device 0
Packit 4a16fb
}
Packit 4a16fb
Packit 4a16fb
<confdir:pcm/surround21.conf>
Packit 4a16fb
<confdir:pcm/surround40.conf>
Packit 4a16fb
<confdir:pcm/surround41.conf>
Packit 4a16fb
<confdir:pcm/surround50.conf>
Packit 4a16fb
<confdir:pcm/surround51.conf>
Packit 4a16fb
<confdir:pcm/surround71.conf>
Packit 4a16fb
Packit 4a16fb
Loopback.pcm.surround40.0 cards.Loopback.pcm.front.0
Packit 4a16fb
Loopback.pcm.surround51.0 cards.Loopback.pcm.front.0
Packit 4a16fb
Loopback.pcm.surround71.0 cards.Loopback.pcm.front.0