Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pcm.!default { #замена дефолтного устройства вывода
- type plug
- slave.pcm upmix_20to31
- slave.rate 48000
- slave.channels 8
- hint {
- show on #видим в панели управления звуком KDE
- description "Default stereo device"
- }
- }
- pcm.upmix_20to31 {
- type plug
- slave.pcm lowpass_21
- slave.channels 8
- slave.rate 48000
- ttable { #разложение стерео на 6 каналов
- 0.0 1 # front left channel
- 1.1 1 # front right channel
- 0.2 0.5 # half left ...
- 1.2 0.5 # and half right to center
- 0.3 0.5 # half left
- 1.3 0.5 # and half right to subwoofer
- 0.4 1 # rear left
- 1.5 1 # rear right
- }
- hint {
- show on
- description "My Soundcard with extra Volume Control"
- }
- }
- pcm.lowpass_21 { #фильтры для саба и тылов
- type ladspa
- slave.pcm outdev
- path "/usr/lib/ladspa"
- channels 8
- plugins {
- 0 { # front left
- id 1908 # identity
- policy none
- input.bindings.0 0
- output.bindings.0 0
- input.controls [ 2 150 ]
- }
- 1 { # front right
- id 1908 # identity
- policy none
- input.bindings.1 0
- output.bindings.1 0
- input.controls [ 2 150 ]
- }
- 2 { #subwoofer - режем все выше 500
- id 1672 # lowpass filter
- policy none
- input.bindings.3 0
- output.bindings.3 0
- input.controls [ 500 2 ]
- }
- 3 { # center
- id 1098 # identity
- policy none
- input.bindings.2 0
- output.bindings.2 0
- # input.controls [ 2 150 ]
- }
- 4 { # rear left - отставание на 0,01 сек
- id 1054 # identity
- policy none
- input.bindings.4 0
- output.bindings.4 0
- input.controls [ 0.010 1 ]
- }
- 5 { # rear right
- id 1054 # identity
- policy none
- input.bindings.5 0
- output.bindings.5 0
- input.controls [ 0.010 1 ]
- }
- }
- }
- pcm.outdev {
- type plug
- slave {
- pcm uuu
- channels 8
- }
- }
- pcm.uuu { # общий регулятор громкости для всех каналов, им можно рулить через kmix
- type softvol
- slave.pcm dmix6
- control {
- card 0
- name "Phonon"
- }
- }
- pcm.dmix6 { # микшер, для одновременного использования 20->51 звука несколькими программами
- type dmix
- ipc_key 1024
- ipc_key_add_uid false # let multiple users share
- ipc_perm 0660 # IPC permissions (octal, default 0600)
- slave {
- pcm "hw:0,0" # see below
- rate 48000
- channels 8
- period_time 0
- period_size 1024 # try 2048 against skipping
- buffer_time 0
- buffer_size 5120 # in case of problems reduce this
- # in case of skipping, try increasing
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement