Advertisement
Guest User

OpenWRT Pulseaudio default system.pa

a guest
Jan 21st, 2017
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.01 KB | None | 0 0
  1. #!/usr/bin/pulseaudio -nF
  2. #
  3. # This file is part of PulseAudio.
  4. #
  5. # PulseAudio is free software; you can redistribute it and/or modify it
  6. # under the terms of the GNU Lesser General Public License as published by
  7. # the Free Software Foundation; either version 2 of the License, or
  8. # (at your option) any later version.
  9. #
  10. # PulseAudio is distributed in the hope that it will be useful, but
  11. # WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. # General Public License for more details.
  14. #
  15. # You should have received a copy of the GNU Lesser General Public License
  16. # along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
  17.  
  18. # This startup script is used only if PulseAudio is started in system
  19. # mode.
  20.  
  21. ### Automatically load driver modules depending on the hardware available
  22. .ifexists module-detect.so
  23. ### Use the static hardware detection module (for systems that lack udev/hal support)
  24. load-module module-detect
  25. .endif
  26.  
  27. ### Load several protocols
  28. .ifexists module-esound-protocol-unix.so
  29. load-module module-esound-protocol-unix
  30. .endif
  31. load-module module-native-protocol-unix
  32.  
  33. ### Automatically restore the volume of streams and devices
  34. load-module module-stream-restore
  35. load-module module-device-restore
  36.  
  37. ### Automatically restore the default sink/source when changed by the user
  38. ### during runtime
  39. ### NOTE: This should be loaded as early as possible so that subsequent modules
  40. ### that look up the default sink/source get the right value
  41. load-module module-default-device-restore
  42.  
  43. ### Automatically move streams to the default sink if the sink they are
  44. ### connected to dies, similar for sources
  45. load-module module-rescue-streams
  46.  
  47. ### Make sure we always have a sink around, even if it is a null sink.
  48. load-module module-always-sink
  49.  
  50. ### Automatically suspend sinks/sources that become idle for too long
  51. load-module module-suspend-on-idle
  52.  
  53. ### Enable positioned event sounds
  54. load-module module-position-event-sounds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement