Advertisement
Guest User

Untitled

a guest
Feb 17th, 2013
14
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.23 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, write to the Free Software Foundation,
  17. # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
  18.  
  19. # This startup script is used only if PulseAudio is started in system
  20. # mode.
  21.  
  22. ### Automatically load driver modules depending on the hardware available
  23. .ifexists module-udev-detect.so
  24. load-module module-udev-detect
  25. .else
  26. ### Use the static hardware detection module (for systems that lack udev/hal support)
  27. load-module module-detect
  28. .endif
  29.  
  30. ### Load several protocols
  31. .ifexists module-esound-protocol-unix.so
  32. load-module module-esound-protocol-unix
  33. .endif
  34. load-module module-native-protocol-unix
  35.  
  36. ### Automatically restore the volume of streams and devices
  37. load-module module-stream-restore
  38. load-module module-device-restore
  39.  
  40. ### Automatically restore the default sink/source when changed by the user
  41. ### during runtime
  42. ### NOTE: This should be loaded as early as possible so that subsequent modules
  43. ### that look up the default sink/source get the right value
  44. load-module module-default-device-restore
  45.  
  46. .ifexists module-dbus-protocol.so
  47. ### If you want to allow TCP connections, set access to "remote" or "local,remote".
  48. load-module module-dbus-protocol access=local
  49. .endif
  50.  
  51. ### Automatically move streams to the default sink if the sink they are
  52. ### connected to dies, similar for sources
  53. load-module module-rescue-streams
  54.  
  55. ### Make sure we always have a sink around, even if it is a null sink.
  56. load-module module-always-sink
  57.  
  58. ### Automatically suspend sinks/sources that become idle for too long
  59. load-module module-suspend-on-idle
  60.  
  61. ### Enable positioned event sounds
  62. load-module module-position-event-sounds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement