All pastes #607249 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-07-07 13:37 UTC
rendered paste body
pcm.dmix8chan {
	type dmix
	ipc_key 1024
	slave {
		pcm "hw:0,0"
		rate 44100
		format S32_LE
		channels 8
		period_time 0
		period_size 1024
		buffer_time 0
		buffer_size 8092
	}
}

pcm.route8chan {
	type route
	slave.pcm dmix8chan
	slave.channels 8
	ttable.0.0 1
	ttable.1.1 1
	ttable.2.0 0.5
	ttable.2.1 0.5
	ttable.3.0 0.5
	ttable.3.1 0.5
	ttable.4.0 0.5
	ttable.4.1 0.5
	ttable.5.0 0.5
	ttable.5.1 0.5
	ttable.6.0 0.5
	ttable.6.1 0.5
	ttable.7.0 0.5
	ttable.7.1 0.5
}

pcm.input {
	type dsnoop
	ipc_key 1024
	slave {
		pcm "hw:0,0"
		rate 44100
		format S32_LE
		channels 8
		period_time 0
		period_size 1024
		buffer_time 0
		buffer_size 8092
	}
}

pcm.speakers {
	type plug
	slave.pcm "dmix8chan"
	slave.channels 8
}

pcm.headphones {
	type plug
	slave.pcm "route8chan"
	slave.channels 8
}

pcm.duplex {
	type asym
	playback.pcm "route8chan"
	capture.pcm "input"
}

pcm.!default {
	type plug
	slave.pcm "duplex"
}