All pastes #4794 Raw Edit

mcquaid

public text v1 · immutable
#4794 ·published 2005-01-27 01:08 UTC
rendered paste body
pcm.swmix {
	type dmix
	ipc_key 1024 ## needs to be a power of 2
	slave {
		pcm "hw:0,0"
		period_time 0
		period_size 1024
		buffer_size 8192
		## rate 44100 ## not necessary
	}
}

pcm.dsp0 {
	type plug
	slave.pcm "swmix"
}

ctl.dsp0 {
        type hw
        card 0
}

pcm.adsp {
        type plug
        slave.pcm "swmix"
}

ctl.adsp {
        type hw
        card 0
}

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

ctl.!default {
        type hw
        card 0
}
#this is stuff i added for full duplex mixing
pcm.duplex {
        type asym
        playback.pcm "dmix"
        capture.pcm "dsnoop"
#pcm.adsp0 "duplex"
       }