summaryrefslogtreecommitdiff
path: root/package/pulseaudio/files/system.pa
blob: 693db412bd9b0828ddd767db804f6dff57a71c4b (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
#!/usr/bin/pulseaudio -nF

load-module module-native-protocol-unix

### Automatically restore the volume of streams and devices
load-module module-stream-restore
load-module module-device-restore

### Automatically restore the default sink/source when changed by the user
### during runtime
### NOTE: This should be loaded as early as possible so that subsequent modules
### that look up the default sink/source get the right value
load-module module-default-device-restore

### Automatically move streams to the default sink if the sink they are
### connected to dies, similar for sources
load-module module-rescue-streams

### Make sure we always have a sink around, even if it is a null sink.
load-module module-always-sink

### Enable positioned event sounds
load-module module-position-event-sounds

# pacmd communication
load-module module-cli-protocol-unix socket=/var/run/pulse/cli

# configure as a rtp sender
#load-module module-null-sink sink_name=rtp format=s16be channels=2
#load-module module-rtp-send source=rtp.monitor destination=224.0.0.56

# configure as a rtp receiver and sender
#load-module module-null-sink sink_name=rtp format=s16be channels=2
#load-module module-rtp-send source=rtp.monitor destination=224.0.0.56 loop=1
#load-module module-alsa-sink device=hw:0,0 sink_name=alsa
#load-module module-rtp-recv sap_address=224.0.0.56 sink=alsa

# configure combine-sink (echo in the same room)
#load-module module-alsa-sink device=hw:0,0 sink_name=alsa
#load-module module-combine-sink slaves=rtp,alsa

# configure as a rtp receiver
load-module module-rtp-recv sap_address=224.0.0.56
load-module module-alsa-sink device=hw:0,0