system.pa 1.1 KB

12345678910111213141516171819202122232425262728293031
  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. # configure as a rtp sender
  19. #load-module module-null-sink sink_name=rtp format=s16be channels=2
  20. #load-module module-rtp-send source=rtp.monitor destination=224.0.0.56
  21. # configure as a rtp receiver
  22. load-module module-rtp-recv sap_address=224.0.0.56
  23. load-module module-alsa-sink device=hw:0,0