-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathasound.conf
More file actions
251 lines (224 loc) · 4.25 KB
/
asound.conf
File metadata and controls
251 lines (224 loc) · 4.25 KB
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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
pcm.mpd_in {
type plug
slave.pcm "jack_playback_loop"
slave.format FLOAT_LE
slave.channels 6
slave.rate 48000
hint {
description "MPD Input (6ch, 48kHz FLOAT_LE)"
}
}
pcm.jack_in {
type plug
slave.pcm "jack_playback_loop"
slave.channels 6
slave.rate 48000
slave.format FLOAT_LE
hint {
description "Input Into Jack (6ch, 48kHz, FLOAT_LE)"
}
}
pcm.jack_playback_loop {
type jack
playback_ports {
0 loop1:input_1
1 loop1:input_2
2 loop2:input_1
3 loop2:input_2
4 loop3:input_1
5 loop3:input_2
# 0 loopback:playback_1
# 1 loopback:playback_2
# 2 loopback:playback_3
# 3 loopback:playback_4
# 4 loopback:playback_5
# 5 loopback:playback_6
}
}
pcm.jack_playback_system {
type jack
playback_ports {
0 system:playback_1
1 system:playback_2
2 system:playback_3
3 system:playback_4
4 system:playback_5
5 system:playback_6
}
}
pcm.jack_capture_1 {
type jack
capture_ports {
# 0 loop1:output_1
0 loopback:capture_1
}
}
pcm.record_from_jack_1 {
type plug
slave.pcm "jack_capture_1"
hint {
description "Recording input 1 from JACK"
}
}
pcm.jack_capture_2 {
type jack
capture_ports {
# 0 loop1:output_2
0 loopback:capture_2
}
}
pcm.record_from_jack_2 {
type plug
slave.pcm "jack_capture_2"
hint {
description "Recording input 2 from JACK"
}
}
pcm.jack_capture_3 {
type jack
capture_ports {
# 0 loop2:output_1
0 loopback:capture_3
}
}
pcm.record_from_jack_3 {
type plug
slave.pcm "jack_capture_3"
hint {
description "Recording input 3 from JACK"
}
}
pcm.jack_capture_4 {
type jack
capture_ports {
# 0 loop2:output_2
0 loopback:capture_4
}
}
pcm.record_from_jack_4 {
type plug
slave.pcm "jack_capture_4"
hint {
description "Recording input 4 from JACK"
}
}
pcm.jack_capture_5 {
type jack
capture_ports {
# 0 loop3:output_1
0 loopback:capture_5
}
}
pcm.record_from_jack_5 {
type plug
slave.pcm "jack_capture_5"
hint {
description "Recording input 5 from JACK"
}
}
pcm.jack_capture_6 {
type jack
capture_ports {
# 0 loop3:output_2
0 loopback:capture_6
}
}
pcm.record_from_jack_6 {
type plug
slave.pcm "jack_capture_6"
hint {
description "Recording input 6 from JACK"
}
}
pcm.splitter {
type multi
slaves {
a { pcm "null_2ch" channels 2 }
b { pcm "null_2ch" channels 2 }
c { pcm "null_2ch" channels 2 }
}
bindings {
0 { slave a channel 0 }
1 { slave a channel 1 }
2 { slave b channel 0 }
3 { slave b channel 1 }
4 { slave c channel 0 }
5 { slave c channel 1 }
}
}
pcm.six2lr {
type route
slave {
pcm "jack_in"
channels 6
}
ttable.0.0 1.0 # FL → FL
ttable.1.1 1.0 # FR → FR
ttable.2.2 0.0 # BL → BL
ttable.3.3 0.0 # BR → BR
ttable.4.4 0.0 # C → C
ttable.5.5 0.0 # LFE → LFE
}
pcm.six2six {
type route
slave {
pcm "jack_in"
channels 6
}
ttable.0.0 1.0 # FL → FL
ttable.1.1 1.0 # FR → FR
ttable.2.2 1.0 # BL → BL
ttable.3.3 1.0 # BR → BR
ttable.4.4 1.0 # C → C
ttable.5.5 1.0 # LFE → LFE
}
pcm.null_any {
type plug
slave {
pcm "null"
}
}
pcm.null_6ch {
type plug
slave {
pcm "null"
channels 6
}
}
pcm.null_2ch {
type plug
slave {
pcm "null"
channels 2
}
}
pcm.output_to_file {
type file
file "/var/lib/mpd/music/mpd_audio_capture.wav"
format "wav"
slave.pcm "null_any"
}
pcm.output_6ch {
type file
file "/var/lib/mpd/music/mpd_audio_capture_6ch.wav"
format "wav"
slave.pcm "null_6ch"
}
pcm.output_front {
type file
file "/var/lib/mpd/music/mpd_audio_capture_front.wav"
format "wav"
slave.pcm "null_2ch"
}
pcm.output_center {
type file
file "/var/lib/mpd/music/mpd_audio_capture_center.wav"
format "wav"
slave.pcm "null_2ch"
}
pcm.output_rear {
type file
file "/var/lib/mpd/music/mpd_audio_capture_rear.wav"
format "wav"
slave.pcm "null_2ch"
}