pcm.!default {
	type plug
	slave.pcm sound21
	slave.format S32_LE
	slave.rate 48000
}

ctl.!default {
	type hw
	card 0
}


###
# PCMs for users
###

pcm.sound21 {
	type plug
	slave.pcm placier
}

pcm.sound51 {
	type plug
	slave.pcm moulinex
}


###
# PCMs for plugs
###

pcm.placier {
	type route
	slave.pcm moulinex
	slave.channels 6
	# Channels mapping (0-6.0-6) and  volume (0.0-1.0)
	# 0 = Front Left 	1 = Front Right
	# 2 = Rear Left 	3 = Rear Right
	# 4 = Center 		5 = LFE
	# Actually, any volume above 0.0 gives 1.0
	ttable.0.0	1.0
	ttable.0.2	0.5
	ttable.0.3	0.0
	ttable.0.4	0.0
	ttable.0.5	0.4
	ttable.1.1	1.0
	ttable.1.2	0.0
	ttable.1.3	0.5
	ttable.1.4	0.0
	ttable.1.5	0.4
	ttable.2.2	1.0
	ttable.3.3	1.0
	ttable.4.4	1.0
	ttable.5.5	1.0
}

pcm.moulinex {
	type dmix
	ipc_key 1032
	slave {
		pcm fortissimo4
		format S32_LE
		channels 6
		period_time 0
		period_size 1024
		buffer_size 8192
	}
	bindings {
		0 0
		1 1
		2 4
		3 5
		4 2
		5 3
	}
}

pcm.fortissimo4 {
	type hw
	card 0
	device 0
	format S32_LE
}

