Blame src/conf/cards/ATIIXP-SPDMA.conf

Packit 4a16fb
#
Packit 4a16fb
# Configuration for the ATI IXP 150/200/250 chips
Packit 4a16fb
#
Packit 4a16fb
Packit 4a16fb
<confdir:pcm/front.conf>
Packit 4a16fb
Packit 4a16fb
ATIIXP-SPDMA.pcm.front.0 {
Packit 4a16fb
	@args [ CARD ]
Packit 4a16fb
	@args.CARD {
Packit 4a16fb
		type string
Packit 4a16fb
	}
Packit 4a16fb
	type hw
Packit 4a16fb
	card $CARD
Packit 4a16fb
}	
Packit 4a16fb
Packit 4a16fb
# default with dmix/dsnoop
Packit 4a16fb
ATIIXP.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
			@func concat
Packit 4a16fb
			strings [ "dmix:" $CARD ]
Packit 4a16fb
		}
Packit 4a16fb
	}
Packit 4a16fb
	capture.pcm {
Packit 4a16fb
		type plug
Packit 4a16fb
		slave.pcm {
Packit 4a16fb
			@func concat
Packit 4a16fb
			strings [ "dsnoop:" $CARD ]
Packit 4a16fb
		}
Packit 4a16fb
	}
Packit 4a16fb
}
Packit 4a16fb
Packit 4a16fb
<confdir:pcm/surround40.conf>
Packit 4a16fb
Packit 4a16fb
ATIIXP-SPDMA.pcm.surround40.0 {
Packit 4a16fb
	@args [ CARD ]
Packit 4a16fb
	@args.CARD {
Packit 4a16fb
		type string
Packit 4a16fb
	}
Packit 4a16fb
	type hooks
Packit 4a16fb
	slave.pcm {
Packit 4a16fb
		type hw
Packit 4a16fb
		card $CARD
Packit 4a16fb
		channels 4
Packit 4a16fb
	}
Packit 4a16fb
	hooks.0 {
Packit 4a16fb
		type ctl_elems
Packit 4a16fb
		hook_args [
Packit 4a16fb
			{
Packit 4a16fb
				name "Channel Mode"
Packit 4a16fb
				preserve true
Packit 4a16fb
				value "4ch"
Packit 4a16fb
				lock true
Packit 4a16fb
				optional true
Packit 4a16fb
			}
Packit 4a16fb
			# for old drivers
Packit 4a16fb
			{
Packit 4a16fb
				name "Line-In As Surround"
Packit 4a16fb
				preserve true
Packit 4a16fb
				value true
Packit 4a16fb
				optional true
Packit 4a16fb
			}
Packit 4a16fb
			{
Packit 4a16fb
				name "Surround Down Mix"
Packit 4a16fb
				preserve true
Packit 4a16fb
				value off
Packit 4a16fb
				lock true
Packit 4a16fb
				optional true
Packit 4a16fb
			}
Packit 4a16fb
		]
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
ATIIXP-SPDMA.pcm.surround51.0 {
Packit 4a16fb
	@args [ CARD ]
Packit 4a16fb
	@args.CARD {
Packit 4a16fb
		type string
Packit 4a16fb
	}
Packit 4a16fb
	type hooks
Packit 4a16fb
	slave.pcm {
Packit 4a16fb
		type hw
Packit 4a16fb
		card $CARD
Packit 4a16fb
		channels 6
Packit 4a16fb
	}
Packit 4a16fb
	hooks.0 {
Packit 4a16fb
		type ctl_elems
Packit 4a16fb
		hook_args [
Packit 4a16fb
			{
Packit 4a16fb
				name "Channel Mode"
Packit 4a16fb
				preserve true
Packit 4a16fb
				value "6ch"
Packit 4a16fb
				lock true
Packit 4a16fb
				optional true
Packit 4a16fb
			}
Packit 4a16fb
			# for old drivers
Packit 4a16fb
			{
Packit 4a16fb
				name "Line-In As Surround"
Packit 4a16fb
				preserve true
Packit 4a16fb
				value true
Packit 4a16fb
				optional true
Packit 4a16fb
			}
Packit 4a16fb
			{
Packit 4a16fb
				name "Mic As Center/LFE"
Packit 4a16fb
				preserve true
Packit 4a16fb
				value true
Packit 4a16fb
				optional true
Packit 4a16fb
			}
Packit 4a16fb
			{
Packit 4a16fb
				name "Surround Down Mix"
Packit 4a16fb
				preserve true
Packit 4a16fb
				value off
Packit 4a16fb
				lock true
Packit 4a16fb
				optional true
Packit 4a16fb
			}
Packit 4a16fb
			{
Packit 4a16fb
				name "Center/LFE Down Mix"
Packit 4a16fb
				preserve true
Packit 4a16fb
				value off
Packit 4a16fb
				lock true
Packit 4a16fb
				optional true
Packit 4a16fb
			}
Packit 4a16fb
		]
Packit 4a16fb
	}
Packit 4a16fb
}
Packit 4a16fb
Packit 4a16fb
<confdir:pcm/iec958.conf>
Packit 4a16fb
Packit 4a16fb
ATIIXP-SPDMA.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 iec958
Packit 4a16fb
	slave {
Packit 4a16fb
		pcm {
Packit 4a16fb
			type hw
Packit 4a16fb
			card $CARD
Packit 4a16fb
			device 1
Packit 4a16fb
		}
Packit 4a16fb
		format IEC958_SUBFRAME_LE
Packit 4a16fb
	}
Packit 4a16fb
	status [ $AES0 $AES1 $AES2 $AES3 ]
Packit 4a16fb
}