#
# Configuration for the Griffin FireWave Surround
#

FireWave.pcm.default {
	@args [ CARD ]
	@args.CARD {
		type string
	}
	type plug
	slave.pcm {
		@func concat
		strings [ "dmix:" $CARD ",FORMAT=S32" ]
	}
}

<confdir:pcm/front.conf>

FireWave.pcm.front.0 {
	@args [ CARD ]
	@args.CARD {
		type string
	}
	type hw
	card $CARD
}

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

FireWave.pcm.surround51.0 {
	@args [ CARD ]
	@args.CARD {
		type string
	}
	type route
	ttable [
		[ 1 0 0 0 0 0 ]
		[ 0 1 0 0 0 0 ]
		[ 0 0 0 0 1 0 ]
		[ 0 0 0 0 0 1 ]
		[ 0 0 1 0 0 0 ]
		[ 0 0 0 1 0 0 ]
	]
	slave.pcm {
		type hw
		card $CARD
	}
}
