system.pa 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #!/usr/bin/pulseaudio -nF
  2. load-module module-native-protocol-unix
  3. ### Automatically restore the volume of streams and devices
  4. load-module module-stream-restore
  5. load-module module-device-restore
  6. ### Automatically restore the default sink/source when changed by the user
  7. ### during runtime
  8. ### NOTE: This should be loaded as early as possible so that subsequent modules
  9. ### that look up the default sink/source get the right value
  10. load-module module-default-device-restore
  11. ### Automatically move streams to the default sink if the sink they are
  12. ### connected to dies, similar for sources
  13. load-module module-rescue-streams
  14. ### Make sure we always have a sink around, even if it is a null sink.
  15. load-module module-always-sink
  16. ### Enable positioned event sounds
  17. load-module module-position-event-sounds
  18. # pacmd communication
  19. load-module module-cli-protocol-unix socket=/var/run/pulse/cli
  20. # configure as a rtp sender
  21. #load-module module-null-sink sink_name=rtp format=s16be channels=2
  22. #load-module module-rtp-send source=rtp.monitor destination=224.0.0.56
  23. # configure as a rtp receiver and sender
  24. #load-module module-null-sink sink_name=rtp format=s16be channels=2
  25. #load-module module-rtp-send source=rtp.monitor destination=224.0.0.56 loop=1
  26. #load-module module-alsa-sink device=hw:0,0 sink_name=alsa
  27. #load-module module-rtp-recv sap_address=224.0.0.56 sink=alsa
  28. # configure combine-sink (echo in the same room)
  29. #load-module module-alsa-sink device=hw:0,0 sink_name=alsa
  30. #load-module module-combine-sink slaves=rtp,alsa
  31. # configure as a rtp receiver
  32. load-module module-rtp-recv sap_address=224.0.0.56
  33. load-module module-alsa-sink device=hw:0,0