default.pa 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. ### Make sure we always have a sink around, even if it is a null sink.
  38. load-module module-always-sink
  39. ### Honour intended role device property
  40. load-module module-intended-roles
  41. ### Automatically suspend sinks/sources that become idle for too long
  42. load-module module-suspend-on-idle
  43. ### If autoexit on idle is enabled we want to make sure we only quit
  44. ### when no local session needs us anymore.
  45. #.ifexists module-console-kit.so
  46. #load-module module-console-kit
  47. #.endif
  48. #.ifexists module-systemd-login.so
  49. #load-module module-systemd-login
  50. #.endif
  51. ### Enable positioned event sounds
  52. load-module module-position-event-sounds