close

http://alsa.opensrc.org/index.php/Ice1724#M-Audio_Revolution_7.1_.28Gentoo.2C_Ubuntu_6.06.29


M-Audio Revolution 7.1 (Ubuntu 8.04)


.asoundrc to fix surround71 bindings, and duplicate front channel through all other channels in a stereo configuration by default:

 

# 8 channel dmix
pcm.!surround71 {
type dmix
ipc_key 1024
ipc_key_add_uid false
ipc_perm 0660
slave {
pcm "hw:0,0"
rate 48000
channels 8
period_time 0
period_size 1024
buffer_time 0
# prevent stutter at 48000
buffer_size 8192
# alternately lower to 44100 and keep the buffer low
#rate 44100
#buffer_size 5120
}
bindings {
0 1 # front left
1 0 # front right
2 6 # rear left
3 7 # rear right
4 2 # center
5 3 # lfe
6 4 # side left
7 5 # side right
}
}
# perform upmixing
pcm.ch71dup {
type route
slave.pcm surround71
slave.channels 8
ttable {
0.0 1 # front right
1.1 1 # front left
0.2 1 # rear left
1.3 1 # rear right
0.4 0.5 # right channel to centre 0.5 gain
1.4 0.5 # left channel to centre 0.5 gain
0.5 0.5 # right channel to lfe 0.5 gain
1.5 0.5 # left channel to lfe 0.5 gain
0.6 1 # side left
1.7 1 # side right
}
}
pcm.duplex {
type asym
playback.pcm "ch71dup" # upmix first
capture.pcm "hw:0"
}
# change default device
pcm.!default {
type plug
slave.pcm "duplex"
}
# for aoss
pcm.dsp "duplex"
pcm.dsp1 "duplex"
arrow
arrow
    全站熱搜

    yushan 發表在 痞客邦 留言(0) 人氣()