-
Notifications
You must be signed in to change notification settings - Fork 0
/
.asoundrc.complicated
68 lines (62 loc) · 949 Bytes
/
.asoundrc.complicated
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
pcm.!default {
type asym
playback.pcm "pluggedout"
capture.pcm "pluggedin"
}
ctl.!default {
type hw
card 1
}
pcm.pluggedout {
type plug
slave.pcm "dmixer1"
}
pcm.pluggedin {
type plug
slave {
pcm "dsnooper"
}
}
pcm.dmixer1 {
type dmix
ipc_key 1027
ipc_key_add_uid false # let multiple users share
ipc_perm 0666 # IPC permissions for multi-user sharing (octal, default 0600)
slave {
pcm "hw:1,0"
rate 48000
period_time 0
period_size 1024
buffer_size 2048
}
bindings {
0 0
1 1
}
slowptr true
}
#pcm.copier {
# type rate
# slave {
# pcm "dsnooper"
# rate 48000
# }
#}
pcm.dsnooper {
type dsnoop
ipc_key 1028
ipc_key_add_uid false # let multiple users share
ipc_perm 0666 # IPC permissions for multi-user shar
slave {
pcm "hw:1,0"
rate 48000
period_time 0
period_size 1024
buffer_size 2048
}
bindings {
0 0
1 1
}
slowptr true
}