default.pa 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. # This startup script is used only if PulseAudio is started per-user
  18. # (i.e. not in system mode)
  19. # Customized for Jibri
  20. .fail
  21. ### Automatically restore the volume of streams and devices
  22. load-module module-device-restore
  23. load-module module-stream-restore
  24. load-module module-card-restore
  25. ### Automatically augment property information from .desktop files
  26. ### stored in /usr/share/application
  27. load-module module-augment-properties
  28. ### Should be after module-*-restore but before module-*-detect
  29. load-module module-switch-on-port-available
  30. ### Load several protocols
  31. load-module module-native-protocol-unix
  32. ### Automatically restore the default sink/source when changed by the user
  33. ### during runtime
  34. ### NOTE: This should be loaded as early as possible so that subsequent modules
  35. ### that look up the default sink/source get the right value
  36. load-module module-default-device-restore
  37. ### Automatically move streams to the default sink if the sink they are
  38. ### connected to dies, similar for sources
  39. load-module module-rescue-streams
  40. ### Make sure we always have a sink around, even if it is a null sink.
  41. load-module module-always-sink
  42. ### Honour intended role device property
  43. load-module module-intended-roles
  44. ### Automatically suspend sinks/sources that become idle for too long
  45. load-module module-suspend-on-idle
  46. ### If autoexit on idle is enabled we want to make sure we only quit
  47. ### when no local session needs us anymore.
  48. #.ifexists module-console-kit.so
  49. #load-module module-console-kit
  50. #.endif
  51. #.ifexists module-systemd-login.so
  52. #load-module module-systemd-login
  53. #.endif
  54. ### Enable positioned event sounds
  55. load-module module-position-event-sounds