Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pcm.!surround51HDMI {
- type route
- slave {
- pcm multi
- channels 8
- }
- ttable.0.0 1.0
- ttable.1.1 1.0
- ttable.2.2 1.0
- ttable.3.3 1.0
- ttable.4.4 1.0
- ttable.5.5 1.0
- ttable.0.6 1.0
- ttable.1.7 1.0
- ttable.2.6 1.0
- ttable.3.7 1.0
- ttable.4.6 1.0
- ttable.5.7 1.0
- }
- pcm.multi {
- type multi
- slaves.a {
- pcm "analog"
- channels 6
- }
- slaves.b {
- pcm "digital"
- channels 2
- }
- bindings.0.slave a
- bindings.0.channel 0
- bindings.1.slave a
- bindings.1.channel 1
- bindings.2.slave a
- bindings.2.channel 2
- bindings.3.slave a
- bindings.3.channel 3
- bindings.4.slave a
- bindings.4.channel 4
- bindings.5.slave a
- bindings.5.channel 5
- bindings.6.slave b
- bindings.6.channel 0
- bindings.7.slave b
- bindings.7.channel 1
- }
- pcm.analog {
- type dmix
- ipc_key 1221
- slave {
- pcm "hw:0,0"
- channels 6
- # period_time 0
- # period_size 1024
- # buffer_size 4096
- # rate 44100
- }
- }
- pcm.digital {
- type dmix
- ipc_key 1222
- slave {
- pcm "hw:1,7"
- channels 2
- # period_time 0
- # period_size 1024
- # buffer_size 4096
- # rate 44100
- }
- }
- ctl.!surround51HDMI {
- type hw
- card 0
- }
- ###################################################
- ####### По умолчанию два канала без эквалайзера ###
- pcm.!default {
- type plug
- slave.pcm "stereo20"
- }
- ###################################################
- ############# Для mpd с эквалайзером ##############
- ctl.equal {
- type equal;
- }
- pcm.plugequal {
- type equal;
- slave.pcm "mpd";
- }
- pcm.!equal {
- type plug;
- slave.pcm plugequal;
- }
- pcm.!mpd {
- type plug
- slave.pcm "stereo20"
- }
- ###################################################
- ####### Два канала делим на 5.1 и на HDMI #########
- pcm.!stereo20 {
- type asym
- playback.pcm "upmix2to6"
- capture.pcm "dsnooped"
- }
- pcm.!skype {
- type asym
- playback.pcm "upmix2to6"
- capture.pcm "skype_dsnoop"
- }
- pcm.!surround51 {
- type asym
- playback.pcm "swmixer"
- capture.pcm "hw:0,0"
- }
- pcm.snd_card {
- type plug
- slave.pcm "swmixer"
- }
- pcm.upmix2to6 {
- type route
- slave.pcm "multi"
- slave.channels 8
- ttable.0.0 1 # left to left
- ttable.0.2 0.6 # left to back left
- ttable.0.4 0 # left to center
- ttable.1.1 1 # right to right
- ttable.1.3 0.6 # right to back right
- ttable.1.4 0 # right ti center
- ttable.0.5 0.6 # left to SW
- ttable.1.5 0.6 # right to SW
- ttable.0.6 1 # left to left
- ttable.1.7 1 # left to left
- }
- pcm.swmixer {
- type dmix
- ipc_key 1234
- slave {
- pcm "hw:0,0"
- channels 6
- # period_time 0
- # period_size 1024
- # buffer_size 4096
- # rate 48000
- }
- }
- # software mixing of capture information (needed for new skype)
- pcm.dsnooped {
- ipc_key 1026
- type dsnoop
- slave {
- pcm "hw:0,0"# HW ID HERE
- }
- }
- # For Skype (asym duplexes half-duplex plugins like dsnoop and dmix into a full-duplex device)
- pcm.duplex {
- type asym
- playback.pcm "upmix2to6"
- capture.pcm "dsnooped"
- }
- # aoss emulation
- # http://forum.skype.com/index.php?showtopic=525851&st=20
- pcm.skype {
- type plug
- slave.pcm "duplex"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement