blob: a3a08a61c98a00e71f2cde5b2c54369c7dd42330 (
plain)
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
|
# Add a specific named PipeWire pcm
defaults.pipewire.server "pipewire-0"
defaults.pipewire.node "-1"
defaults.pipewire.exclusive false
defaults.pipewire.role ""
defaults.pipewire.rate 0
defaults.pipewire.format ""
defaults.pipewire.channels 0
defaults.pipewire.period_bytes 0
defaults.pipewire.buffer_bytes 0
pcm.pipewire {
@args [ SERVER NODE EXCLUSIVE ROLE RATE FORMAT CHANNELS PERIOD_BYTES BUFFER_BYTES ]
@args.SERVER {
type string
default {
@func refer
name defaults.pipewire.server
}
}
@args.NODE {
type string
default {
@func refer
name defaults.pipewire.node
}
}
@args.EXCLUSIVE {
type integer
default {
@func refer
name defaults.pipewire.exclusive
}
}
@args.ROLE {
type string
default {
@func refer
name defaults.pipewire.role
}
}
@args.RATE {
type integer
default {
@func refer
name defaults.pipewire.rate
}
}
@args.FORMAT {
type string
default {
@func refer
name defaults.pipewire.format
}
}
@args.CHANNELS {
type integer
default {
@func refer
name defaults.pipewire.channels
}
}
@args.PERIOD_BYTES {
type integer
default {
@func refer
name defaults.pipewire.period_bytes
}
}
@args.BUFFER_BYTES {
type integer
default {
@func refer
name defaults.pipewire.buffer_bytes
}
}
type pipewire
server $SERVER
playback_node $NODE
capture_node $NODE
exclusive $EXCLUSIVE
role $ROLE
rate $RATE
format $FORMAT
channels $CHANNELS
period_bytes $PERIOD_BYTES
buffer_bytes $BUFFER_BYTES
hint {
show on
description "PipeWire Sound Server"
}
}
ctl.pipewire {
@args.SERVER {
type string
default {
@func refer
name defaults.pipewire.server
}
}
type pipewire
server $SERVER
}
|