-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathasound.conf
executable file
·62 lines (59 loc) · 1 KB
/
asound.conf
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
pcm.!default {
type plug
playback.pcm "out"
capture.pcm "loopin"
}
pcm.out {
type plug
slave.pcm {
type multi
slaves {
a { channels 2 pcm "output" }
b { channels 2 pcm "loopout" }
}
bindings {
0 { slave a channel 0 }
1 { slave a channel 1 }
2 { slave b channel 0 }
3 { slave b channel 1 }
}
}
ttable [
[ 1 0 1 0 ] # left -> a.left, b.left
[ 0 1 0 1 ] # right -> a.right, b.right
]
}
pcm.loopout {
type dmix
ipc_key 1025
slave.pcm "hw:3,0,0"
slave {
period_time 0
period_size 1024
buffer_size 8192
channels 2
}
bindings {
0 0
1 1
}
}
pcm.loopin {
type plug
slave.pcm "hw:3,1,0"
}
pcm.output {
type dmix
ipc_key 1024
slave.pcm "hw:1,0"
slave {
period_time 0
period_size 1024
buffer_size 8192
channels 2
}
bindings {
0 0
1 1
}
}