We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dda46a7 commit f8f717dCopy full SHA for f8f717d
root/etc/s6-overlay/s6-rc.d/svc-kclient/run
@@ -1,5 +1,23 @@
1
#!/usr/bin/with-contenv bash
2
3
+# Mic Setup
4
+if [ ! -f '/dev/shm/mic.lock' ]; then
5
+ until [ -f /defaults/pid ]; do
6
+ sleep .5
7
+ done
8
+ s6-setuidgid abc with-contenv pactl \
9
+ load-module module-pipe-source \
10
+ source_name=virtmic \
11
+ file=/defaults/mic.sock \
12
+ source_properties=device.description=LSIOMic \
13
+ format=s16le \
14
+ rate=44100 \
15
+ channels=1
16
17
+ set-default-source virtmic
18
+ touch /dev/shm/mic.lock
19
+fi
20
+
21
# NodeJS wrapper
22
cd /kclient
23
exec s6-setuidgid abc \
0 commit comments