pcm.device{
	format S16_LE
	rate 48000
	type hw
	card 0
	device 0
}

pcm_slave.play {
	pcm "device"
	rate 48000
	channels 8
	period_size 1024
	buffer_size 8192
}

pcm.play_ch1 {
	type plug
	slave.pcm {
		type dmix
		ipc_key 234881
		slave play
		bindings.0 0
	}
}

pcm_slave.record {
	pcm "device"
	rate 48000
	channels 8
	period_size 1024
	buffer_size 8192
}


pcm.record_ch1 {
	type plug
	slave.pcm {
		type dsnoop
		ipc_key 12342
		slave record
		bindings.0 0
	}
}

#and this is the real magic
pcm.asymed_ch1 {
   type asym
   playback.pcm "play_ch1"
   capture.pcm "record_ch1"
}

#a quick plug plugin for above device to do the converting magic
pcm.pasymed_ch1 {
   type plug
   slave.pcm "asymed_ch1"
}

#a ctl device to keep xmms happy
ctl.pasymed_ch1 {
   type hw
   card 0
}

