All pastes #396334 Raw Edit

/.asoundrc

public text v1 · immutable
·published 2007-03-15 17:53 UTC
rendered paste body
# ALSA library configuration file

# Include settings that are under the control of asoundconf(1).
# (To disable these settings, comment out this line.)
</home/ryan/.asoundrc.asoundconf>
pcm.ossmix {
	type dmix
	ipc_key 1024
	slave {
		pcm "hw:0,0"
		period_time 0
		period_size 1024
		buffer_size 4096 # buffer size < 6653, but pow(x, 2)
		rate 44100 # we want to play CDs only
		format S32_LE
	}
	bindings {
		0 0
		1 1
	}
}
# Everything shall be dmixed, so redefine "default":
pcm.!default {
	type plug
	slave.pcm "ossmix"
}
# OSS via aoss should d(mix)stroyed:
pcm.dsp0 {
	type plug
	slave.pcm "ossmix"
}
ctl.mixer0 {
	type hw
	card 0
}