All pastes #217517 Raw Edit

Unnamed

public text v1 · immutable
#217517 ·published 2006-10-23 17:43 UTC
rendered paste body
pcm.ossmix {
type dmix
ipc_key 1234
slave {
pcm “hw:0,0″
period_time 0
period_size 1024
# — vR — 2005-02-13 : lowered this from 4096 to 1024 to get rid of
# skipping and “ALSA: underrun, at least 0ms.” errors
buffer_size 1024 # buffer size < 6653, but pow(x, 2)
buffer_time 84000
rate 44100 # we want to play CDs only
}
bindings {
0 0
1 1
}
}
pcm.duplex {
type asym
playback.pcm "ossmix"
capture.pcm "dsnoop"
}
# Everything shall be dmixed, so redefine "default":
pcm.!default {
type plug
slave.pcm "duplex"
}
# OSS via aoss should d(mix)stroyed:
pcm.dsp0 {
type plug
slave.pcm "duplex"
}
ctl.mixer0 {
type hw
card 0
}