Blame src/conf/cards/EMU10K1.conf

Packit 4a16fb
#
Packit 4a16fb
# Configuration for the EMU10K1 chip
Packit 4a16fb
#
Packit 4a16fb
Packit 4a16fb
<confdir:pcm/front.conf>
Packit 4a16fb
Packit 4a16fb
EMU10K1.pcm.front.0 {
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 hooks
Packit 4a16fb
		slave.pcm {
Packit 4a16fb
			type hw
Packit 4a16fb
			card $CARD
Packit 4a16fb
			chmap [ "UNKNOWN" "FL,FR" ]
Packit 4a16fb
		}
Packit 4a16fb
		hooks.0 {
Packit 4a16fb
			type ctl_elems
Packit 4a16fb
			hook_args [
Packit 4a16fb
				{
Packit 4a16fb
					interface PCM
Packit 4a16fb
					name "EMU10K1 PCM Send Volume"
Packit 4a16fb
					index { @func private_pcm_subdevice }
Packit 4a16fb
					# lock true
Packit 4a16fb
					optional true
Packit 4a16fb
					value [ 255 255 0 0 255 0 0 0 0 255 0 0 ]
Packit 4a16fb
				}
Packit 4a16fb
				{
Packit 4a16fb
					# for compatibility with older drivers
Packit 4a16fb
					name "EMU10K1 PCM Send Volume"
Packit 4a16fb
					index { @func private_pcm_subdevice }
Packit 4a16fb
					# lock true
Packit 4a16fb
					optional true
Packit 4a16fb
					value [ 255 255 0 0 255 0 0 0 0 255 0 0 ]
Packit 4a16fb
				}
Packit 4a16fb
				{
Packit 4a16fb
					interface PCM
Packit 4a16fb
					name "EMU10K1 PCM Send Routing"
Packit 4a16fb
					index { @func private_pcm_subdevice }
Packit 4a16fb
					# lock true
Packit 4a16fb
					optional true
Packit 4a16fb
					value [ 8 9 0 0 8 9 0 0 8 9 0 0 ]
Packit 4a16fb
				}
Packit 4a16fb
				{
Packit 4a16fb
					# for compatibility with older drivers
Packit 4a16fb
					name "EMU10K1 PCM Send Routing"
Packit 4a16fb
					index { @func private_pcm_subdevice }
Packit 4a16fb
					# lock true
Packit 4a16fb
					optional true
Packit 4a16fb
					value [ 8 9 0 0 8 9 0 0 8 9 0 0 ]
Packit 4a16fb
				}
Packit 4a16fb
			]
Packit 4a16fb
		}
Packit 4a16fb
	}
Packit 4a16fb
	capture.pcm {
Packit 4a16fb
		type hw
Packit 4a16fb
		card $CARD
Packit 4a16fb
	}
Packit 4a16fb
}	
Packit 4a16fb
Packit 4a16fb
<confdir:pcm/rear.conf>
Packit 4a16fb
Packit 4a16fb
EMU10K1.pcm.rear.0 {
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 hooks
Packit 4a16fb
		slave.pcm {
Packit 4a16fb
			type hw
Packit 4a16fb
			card $CARD
Packit 4a16fb
			chmap [ "UNKNOWN" "RL,RR" ]
Packit 4a16fb
		}
Packit 4a16fb
		hooks.0 {
Packit 4a16fb
			type ctl_elems
Packit 4a16fb
			hook_args [
Packit 4a16fb
				{
Packit 4a16fb
					interface PCM
Packit 4a16fb
					name "EMU10K1 PCM Send Volume"
Packit 4a16fb
					index { @func private_pcm_subdevice }
Packit 4a16fb
					# lock true
Packit 4a16fb
					optional true
Packit 4a16fb
					value [ 0 0 255 255 0 0 255 0 0 0 0 255 ]
Packit 4a16fb
				}
Packit 4a16fb
				{
Packit 4a16fb
					# for compatibility with older drivers
Packit 4a16fb
					name "EMU10K1 PCM Send Volume"
Packit 4a16fb
					index { @func private_pcm_subdevice }
Packit 4a16fb
					# lock true
Packit 4a16fb
					optional true
Packit 4a16fb
					value [ 0 0 255 255 0 0 255 0 0 0 0 255 ]
Packit 4a16fb
				}
Packit 4a16fb
			]
Packit 4a16fb
		}
Packit 4a16fb
	}
Packit 4a16fb
}	
Packit 4a16fb
Packit 4a16fb
<confdir:pcm/center_lfe.conf>
Packit 4a16fb
Packit 4a16fb
EMU10K1.pcm.center_lfe.0 {
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 hooks
Packit 4a16fb
		slave.pcm {
Packit 4a16fb
			type hw
Packit 4a16fb
			card $CARD
Packit 4a16fb
			chmap [ "UNKNOWN" "FC,LFE" ]
Packit 4a16fb
		}
Packit 4a16fb
		hooks.0 {
Packit 4a16fb
			type ctl_elems
Packit 4a16fb
			hook_args [
Packit 4a16fb
				{
Packit 4a16fb
					name "Headphone Center Playback Switch"
Packit 4a16fb
					index 1
Packit 4a16fb
					preserve true
Packit 4a16fb
					# lock true
Packit 4a16fb
					optional true
Packit 4a16fb
					value true
Packit 4a16fb
				}
Packit 4a16fb
				{
Packit 4a16fb
					name "Headphone LFE Playback Switch"
Packit 4a16fb
					index 1
Packit 4a16fb
					preserve true
Packit 4a16fb
					# lock true
Packit 4a16fb
					optional true
Packit 4a16fb
					value true
Packit 4a16fb
				}
Packit 4a16fb
# if you have a creative's digital receiver, you can get surround/center/lfe
Packit 4a16fb
# output through the digital jack.  so, the following is commented out.
Packit 4a16fb
# pay attention in case of analog output from the shared center/digital
Packit 4a16fb
# jack!
Packit 4a16fb
#				{
Packit 4a16fb
#					name "SB Live Analog/Digital Output Jack"
Packit 4a16fb
#					preserve true
Packit 4a16fb
#					lock true
Packit 4a16fb
#					value 0
Packit 4a16fb
#				}
Packit 4a16fb
				{
Packit 4a16fb
					interface PCM
Packit 4a16fb
					name "EMU10K1 PCM Send Volume"
Packit 4a16fb
					index { @func private_pcm_subdevice }
Packit 4a16fb
					# lock true
Packit 4a16fb
					optional true
Packit 4a16fb
					value [ 255 255 0 0 255 0 0 0 0 255 0 0 ]
Packit 4a16fb
				}
Packit 4a16fb
				{
Packit 4a16fb
					# for compatibility with older drivers
Packit 4a16fb
					name "EMU10K1 PCM Send Volume"
Packit 4a16fb
					index { @func private_pcm_subdevice }
Packit 4a16fb
					# lock true
Packit 4a16fb
					optional true
Packit 4a16fb
					value [ 255 255 0 0 255 0 0 0 0 255 0 0 ]
Packit 4a16fb
				}
Packit 4a16fb
				{
Packit 4a16fb
					interface PCM
Packit 4a16fb
					name "EMU10K1 PCM Send Routing"
Packit 4a16fb
					index { @func private_pcm_subdevice }
Packit 4a16fb
					# lock true
Packit 4a16fb
					optional true
Packit 4a16fb
					value [ 6 7 0 0 6 7 0 0 6 7 0 0 ]
Packit 4a16fb
				}
Packit 4a16fb
				{
Packit 4a16fb
					# for compatibility with older drivers
Packit 4a16fb
					name "EMU10K1 PCM Send Routing"
Packit 4a16fb
					index { @func private_pcm_subdevice }
Packit 4a16fb
					# lock true
Packit 4a16fb
					optional true
Packit 4a16fb
					value [ 6 7 0 0 6 7 0 0 6 7 0 0 ]
Packit 4a16fb
				}
Packit 4a16fb
			]
Packit 4a16fb
		}
Packit 4a16fb
	}
Packit 4a16fb
}	
Packit 4a16fb
Packit 4a16fb
<confdir:pcm/surround40.conf>
Packit 4a16fb
Packit 4a16fb
EMU10K1.pcm.surround40.0 {
Packit 4a16fb
	@args [ CARD ]
Packit 4a16fb
	@args.CARD {
Packit 4a16fb
		type string
Packit 4a16fb
	}
Packit 4a16fb
	type multi
Packit 4a16fb
	slaves [
Packit 4a16fb
		{
Packit 4a16fb
			pcm {
Packit 4a16fb
				@func concat
Packit 4a16fb
				strings [
Packit 4a16fb
					"cards.EMU10K1.pcm.front.0:CARD=" $CARD
Packit 4a16fb
				]
Packit 4a16fb
			}
Packit 4a16fb
			channels 2
Packit 4a16fb
		}
Packit 4a16fb
		{
Packit 4a16fb
			pcm {
Packit 4a16fb
				@func concat
Packit 4a16fb
				strings [
Packit 4a16fb
					"cards.EMU10K1.pcm.rear.0:CARD=" $CARD
Packit 4a16fb
				]
Packit 4a16fb
			}
Packit 4a16fb
			channels 2
Packit 4a16fb
		}
Packit 4a16fb
	]
Packit 4a16fb
	bindings [
Packit 4a16fb
		{ slave 0 channel 0 }
Packit 4a16fb
		{ slave 0 channel 1 }
Packit 4a16fb
		{ slave 1 channel 0 }
Packit 4a16fb
		{ slave 1 channel 1 }
Packit 4a16fb
	]
Packit 4a16fb
}
Packit 4a16fb
Packit 4a16fb
<confdir:pcm/surround21.conf>
Packit 4a16fb
<confdir:pcm/surround41.conf>
Packit 4a16fb
<confdir:pcm/surround50.conf>
Packit 4a16fb
<confdir:pcm/surround51.conf>
Packit 4a16fb
Packit 4a16fb
EMU10K1.pcm.surround51.0 {
Packit 4a16fb
	@args [ CARD ]
Packit 4a16fb
	@args.CARD {
Packit 4a16fb
		type string
Packit 4a16fb
	}
Packit 4a16fb
	type multi
Packit 4a16fb
	slaves [
Packit 4a16fb
		{
Packit 4a16fb
			pcm {
Packit 4a16fb
				@func concat
Packit 4a16fb
				strings [
Packit 4a16fb
					"cards.EMU10K1.pcm.front.0:CARD=" $CARD
Packit 4a16fb
				]
Packit 4a16fb
			}
Packit 4a16fb
			channels 2
Packit 4a16fb
		}
Packit 4a16fb
		{
Packit 4a16fb
			pcm {
Packit 4a16fb
				@func concat
Packit 4a16fb
				strings [
Packit 4a16fb
					"cards.EMU10K1.pcm.rear.0:CARD=" $CARD
Packit 4a16fb
				]
Packit 4a16fb
			}
Packit 4a16fb
			channels 2
Packit 4a16fb
		}
Packit 4a16fb
		{
Packit 4a16fb
			pcm {
Packit 4a16fb
				@func concat
Packit 4a16fb
				strings [
Packit 4a16fb
					"cards.EMU10K1.pcm.center_lfe.0:CARD=" $CARD
Packit 4a16fb
				]
Packit 4a16fb
			}
Packit 4a16fb
			channels 2
Packit 4a16fb
		}
Packit 4a16fb
	]
Packit 4a16fb
	bindings [
Packit 4a16fb
		{ slave 0 channel 0 }
Packit 4a16fb
		{ slave 0 channel 1 }
Packit 4a16fb
		{ slave 1 channel 0 }
Packit 4a16fb
		{ slave 1 channel 1 }
Packit 4a16fb
		{ slave 2 channel 0 }
Packit 4a16fb
		{ slave 2 channel 1 }
Packit 4a16fb
	]
Packit 4a16fb
}
Packit 4a16fb
Packit 4a16fb
<confdir:pcm/iec958.conf>
Packit 4a16fb
Packit 4a16fb
EMU10K1.pcm.iec958.0 {
Packit 4a16fb
	@args [ CARD AES0 AES1 AES2 AES3 ]
Packit 4a16fb
	@args.CARD {
Packit 4a16fb
		type string
Packit 4a16fb
	}
Packit 4a16fb
	@args.AES0 {
Packit 4a16fb
		type integer
Packit 4a16fb
	}
Packit 4a16fb
	@args.AES1 {
Packit 4a16fb
		type integer
Packit 4a16fb
	}
Packit 4a16fb
	@args.AES2 {
Packit 4a16fb
		type integer
Packit 4a16fb
	}
Packit 4a16fb
	@args.AES3 {
Packit 4a16fb
		type integer
Packit 4a16fb
	}
Packit 4a16fb
	type hooks
Packit 4a16fb
	slave.pcm {
Packit 4a16fb
		type hw
Packit 4a16fb
		card $CARD
Packit 4a16fb
		device 2
Packit 4a16fb
	}
Packit 4a16fb
	hooks.0 {
Packit 4a16fb
		type ctl_elems
Packit 4a16fb
		hook_args [
Packit 4a16fb
			{
Packit 4a16fb
				interface PCM
Packit 4a16fb
				name "IEC958 Playback Default"
Packit 4a16fb
				device 2
Packit 4a16fb
				lock true
Packit 4a16fb
				preserve true
Packit 4a16fb
				optional true
Packit 4a16fb
				value [ $AES0 $AES1 $AES2 $AES3 ]
Packit 4a16fb
			}
Packit 4a16fb
			{
Packit 4a16fb
				# for compatibility with older drivers
Packit 4a16fb
				name "IEC958 Playback Default"
Packit 4a16fb
				lock true
Packit 4a16fb
				preserve true
Packit 4a16fb
				optional true
Packit 4a16fb
				value [ $AES0 $AES1 $AES2 $AES3 ]
Packit 4a16fb
			}
Packit 4a16fb
			{
Packit 4a16fb
				name "IEC958 Optical Raw Playback Switch"
Packit 4a16fb
				lock true
Packit 4a16fb
				preserve true
Packit 4a16fb
				value [ 1 1 ]
Packit 4a16fb
			}
Packit 4a16fb
			{
Packit 4a16fb
				name "SB Live Analog/Digital Output Jack"
Packit 4a16fb
				lock true
Packit 4a16fb
				preserve true
Packit 4a16fb
				value 1
Packit 4a16fb
			}
Packit 4a16fb
		]
Packit 4a16fb
	}
Packit 4a16fb
}