-
Notifications
You must be signed in to change notification settings - Fork 0
/
bridge.sh
40 lines (28 loc) · 1007 Bytes
/
bridge.sh
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
#!/bin/bash
# make the script executable with chmod +x
bridge1="Discord"
bridge2="Firefox"
bridge3="Modular"
bridge4="Micro"
bridge5="Desktop"
bridge6="Streaming"
# DISCORD
pacmd load-module module-jack-sink client_name=$bridge1-sink channels=2
# FIREFOX
pacmd load-module module-jack-sink client_name=$bridge2-sink channels=2
# MODULAR
pacmd load-module module-jack-source client_name=$bridge3-source channels=2
pacmd load-module module-jack-sink client_name=$bridge3-sink channels=2
# MICRO
pacmd load-module module-jack-source client_name=$bridge4-source channels=2
# DESKTOP
pacmd load-module module-jack-sink client_name=$bridge5-source channels=2
# STREAMING-OBS
pacmd load-module module-jack-source client_name=$bridge6-source channels=2
#
# YOU CAN CREATE MANY NAMED BRIDGE JACK --> PA
#pacmd load-module module-jack-source client_name=$bridgeXXX-source channels=2
#
# YOU CAN CREATE MANY BRIDGE PA --> JACK
#pacmd load-module module-jack-sink client_name=$bridgeXXX-sink channels=2
#