All pastes #745664 Raw Edit

.asoundrc

public text v1 · immutable
·published 2007-10-22 16:08 UTC
rendered paste body
# 51to20 begins ##################################
pcm.!default {
type plug
slave.pcm "51to20"
}

pcm.51to20
{
type route
slave.pcm surround51
slave.channels 6

# Front and rear
ttable.0.0 1
ttable.1.1 1
ttable.2.0 1
ttable.3.1 1

# Center channel routing (routed to front-left and front-right),
# 6dB gaindrop (gain of 0.5) per channel
ttable.4.0 0.5
ttable.4.1 0.5

# LFE channel routing (routed to front-left and front-right),
# 6dB gaindrop (gain of 0.5) per channel
ttable.5.0 0.5
ttable.5.1 0.5
}
# 51to20 ends ##################################
# full-duplex begins ##################################
pcm.duplex {
type asym
playback.pcm "dmix"
capture.pcm "dsnoop"
}

pcm.dsp "duplex"
pcm.dsp0 "duplex"
pcm.dsp1 "duplex"
# full-duplex ends ##################################