#
# Configuration for the AK4458 chip
#

# default with dmix & dsnoop
AK4458.pcm.default {
	@args [ CARD ]
	@args.CARD {
		type string
	}
	type asym
	playback.pcm {
		type plug
		slave.pcm {
			@func concat
			strings [ "dmix:" $CARD ",FORMAT=S32_LE" ]
		}
	}
	capture.pcm {
		type plug
		slave.pcm {
			@func concat
			strings [ "dsnoop:" $CARD ",FORMAT=S32_LE" ]
		}
	}
}

<confdir:pcm/surround40.conf>

AK4458.pcm.surround40.0 {
	@args [ CARD ]
	@args.CARD {
		type string
	}
	type plug
	slave.pcm {
		type hw
		card $CARD
	}
	slave.channels 4
}


<confdir:pcm/surround41.conf>
<confdir:pcm/surround50.conf>
<confdir:pcm/surround51.conf>

AK4458.pcm.surround51.0 {
	@args [ CARD ]
	@args.CARD {
		type string
	}
	type plug
	slave.pcm {
		type hw
		card $CARD
	}
	slave.channels 6
}

<confdir:pcm/surround71.conf>

AK4458.pcm.surround71.0 {
	@args [ CARD ]
	@args.CARD {
		type string
	}
	type plug
	slave.pcm {
		type hw
		card $CARD
	}
	slave.channels 8
}
