-
Notifications
You must be signed in to change notification settings - Fork 9
/
.asoundrc
143 lines (143 loc) · 2.42 KB
/
.asoundrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
#
# $Header: $HOME/.asoundrc, 2014/10/10 11:47:33 -tclover Exp $
#
#-*- HW Card name -*-
#
ctl.lbd { type hw; card Loopback }
pcm.lbd { type hw; card Loopback }
ctl.hdi { type hw; card HDMI }
pcm.hdi { type hw; card HDMI }
ctl.pch { type hw; card PCH }
pcm.pch { type hw; card PCH }
ctl.ctl { type hw; card CMI8788 }
pcm.cmi { type hw; card CMI8788; device 1 }
#
#-*- zita-a2j/j2a + Loopback -*-
# a=alsa c=capture p=playback lp=loop z=zita
#
pcm.pzlp { type plug; slave.pcm "hw:Loopback,1,0" }
pcm.czlp {
type dsnoop
ipc_key 1048
slave.pcm "hw:Loopback,1,0"
}
pcm.palp { type plug; slave.pcm "hw:Loopback,1,1" }
pcm.calp {
type dsnoop
ipc_key 1046
slave.pcm "hw:Loopback,1,1"
}
pcm.plp { type plug; slave.pcm "hw:Loopback,0,1" }
pcm.clp {
type dsnoop
ipc_key 1046
slave.pcm "hw:Loopback,0,1"
}
# Full-Duplex variant using the previous devices
pcm.dlp {
type asym
playback.pcm plp
capture.pcm clp
}
#
#-*- DEFAULT -*-
#
pcm.!default { type plug; slave.pcm dlp }
ctl.!default { type hw ; card PCH }
#
#-*- BS2B -*-
#
pcm.bs2b { type plug; slave.pcm plugbs2b }
pcm.plugbs2b {
type ladspa
slave.pcm dmixer
path /usr/lib/ladspa
plugins [
{
label bs2b
input { controls [ 700 4.5 ] }
}
]
}
#
#-*- JACK -*-
#
pcm.jack { type plug; slave.pcm jackplug }
pcm.jackplug {
type jack
playback_ports {
0 system:playback_1
1 system:playback_2
2 system:playback_3
3 system:playback_4
}
capture_ports {
0 system:capture_1
1 system:capture_2
}
}
#
#-*- MBEQ -*-
#
pcm.eq { type plug; slave.pcm plugeq }
pcm.plugeq {
type ladspa
slave.pcm dmixer
path /usr/lib/ladspa
plugins [
{
label mbeq
id 1197
input {
#bands: 50hz,100hz,156hz,220hz,311hz,440hz,622hz,880hz,
#1250hz,1750hz,25000hz,50000hz,10000hz,20000hz
controls [ -5 -5 -5 -5 -5 -10 -20 -15 -10 -10 -10 -10 -10 -3 -2 ]
}
}
]
}
#
#-*- DMIX -*-
#
pcm.dmixer { type plug; slave.pcm dmixplug }
pcm.dmixplug {
type dmix
ipc_key_add_uid true
ipc_key 1048
ipc_perm 0660
ipc_gid audio
slave {
pcm pch
rate 48000
period_time 0
period_size 1024
buffer_size 8192
}
bindings {
0 0
1 1
}
}
#
#-*- EQUALIZER -*-
#
pcm.equal { type plug; slave.pcm plugequal }
pcm.plugequal { type equal; slave.pcm dmixer }
#
#-*- OSS ALSA-EMU -*-
#
#pcm.alsa {
# type oss
# device /dev/oss/oss_cmi878x0/pcm1
#}
#mixer.alsa {
# type oss
# device /dev/oss/oss_cmi878x0/mix1
#}
#
#-*- ALSA OSS-EMU -*-
#
pcm.oss { type plug; slave.pcm dmixer }
#
# vim:fenc=utf-8:ci:pi:sts=0:sw=2:ts=2:
#