Advertisement
Guest User

Untitled

a guest
Sep 28th, 2021
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.77 KB | None | 0 0
  1. [root@dtk /]# cat /etc/pulse/default.pa.dsp
  2. #!/usr/bin/pulseaudio -nF
  3. #
  4. # This file is part of PulseAudio.
  5. #
  6. # PulseAudio is free software; you can redistribute it and/or modify it
  7. # under the terms of the GNU Lesser General Public License as published by
  8. # the Free Software Foundation; either version 2 of the License, or
  9. # (at your option) any later version.
  10. #
  11. # PulseAudio is distributed in the hope that it will be useful, but
  12. # WITHOUT ANY WARRANTY; without even the implied warranty of
  13. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. # General Public License for more details.
  15. #
  16. # You should have received a copy of the GNU Lesser General Public License
  17. # along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
  18.  
  19. # This startup script is used only if PulseAudio is started per-user
  20. # (i.e. not in system mode)
  21.  
  22. .fail
  23.  
  24. ### Automatically restore the volume of streams and devices
  25. load-module module-device-restore
  26. load-module module-stream-restore
  27. load-module module-card-restore
  28.  
  29. ### Automatically augment property information from .desktop files
  30. ### stored in /usr/share/application
  31. load-module module-augment-properties
  32.  
  33. ### Should be after module-*-restore but before module-*-detect
  34. load-module module-switch-on-port-available
  35.  
  36. ### Load audio drivers statically
  37. ### (it's probably better to not load these drivers manually, but instead
  38. ### use module-udev-detect -- see below -- for doing this automatically)
  39. #load-module module-alsa-sink
  40. #load-module module-alsa-source device=hw:1,0
  41. #load-module module-null-sink
  42. #load-module module-pipe-sink
  43.  
  44. # ======= CamillaDSP - add alsa sink for loopback =======
  45. load-module module-alsa-sink device="camilladsp" sink_name="CamillaDSP"
  46. update-sink-proplist CamillaDSP device.description=CamillaDSP
  47. # test s Pulseaudio, ale proces bezi pod beznym uzivatelem, jinak se nedostane na PA a pak ma ale nedostatecnou prioritu
  48. #load-module module-null-sink sink_name="CamillaDSP"
  49. #update-sink-proplist CamillaDSP device.description=CamillaDSP
  50.  
  51. ### Automatically load driver modules depending on the hardware available
  52. #.ifexists module-udev-detect.so
  53. # ======= CamillaDSP - comment to disable auto detect to make loopback the only available output =======
  54. #load-module module-udev-detect
  55. #.else
  56. ### Use the static hardware detection module (for systems that lack udev support)
  57. #load-module module-detect
  58. #.endif
  59.  
  60. ### Automatically connect sink and source if JACK server is present
  61. .ifexists module-jackdbus-detect.so
  62. .nofail
  63. load-module module-jackdbus-detect channels=2
  64. .fail
  65. .endif
  66.  
  67. ### Automatically load driver modules for Bluetooth hardware
  68. .ifexists module-bluetooth-policy.so
  69. load-module module-bluetooth-policy
  70. .endif
  71.  
  72. .ifexists module-bluetooth-discover.so
  73. load-module module-bluetooth-discover
  74. .endif
  75.  
  76. ### Load several protocols
  77. .ifexists module-esound-protocol-unix.so
  78. load-module module-esound-protocol-unix
  79. .endif
  80. load-module module-native-protocol-unix
  81.  
  82. ### Network access (may be configured with paprefs, so leave this commented
  83. ### here if you plan to use paprefs)
  84. #load-module module-esound-protocol-tcp
  85. #load-module module-native-protocol-tcp
  86. #load-module module-zeroconf-publish
  87. load-module module-zeroconf-discover
  88.  
  89. ### Load the RTP receiver module (also configured via paprefs, see above)
  90. #load-module module-rtp-recv
  91.  
  92. ### Load the RTP sender module (also configured via paprefs, see above)
  93. #load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'"
  94. #load-module module-rtp-send source=rtp.monitor
  95.  
  96. ### Load additional modules from GSettings. This can be configured with the paprefs tool.
  97. ### Please keep in mind that the modules configured by paprefs might conflict with manually
  98. ### loaded modules.
  99. .ifexists module-gsettings.so
  100. .nofail
  101. load-module module-gsettings
  102. .fail
  103. .endif
  104.  
  105. ### Load additional modules from GConf settings. This can be configured with the paprefs tool.
  106. ### Please keep in mind that the modules configured by paprefs might conflict with manually
  107. ### loaded modules.
  108. .ifexists module-gconf.so
  109. .nofail
  110. load-module module-gconf
  111. .fail
  112. .endif
  113.  
  114. ### Automatically restore the default sink/source when changed by the user
  115. ### during runtime
  116. ### NOTE: This should be loaded as early as possible so that subsequent modules
  117. ### that look up the default sink/source get the right value
  118. load-module module-default-device-restore
  119.  
  120. ### Automatically move streams to the default sink if the sink they are
  121. ### connected to dies, similar for sources
  122. load-module module-rescue-streams
  123.  
  124. ### Make sure we always have a sink around, even if it is a null sink.
  125. load-module module-always-sink
  126.  
  127. ### Honour intended role device property
  128. load-module module-intended-roles
  129.  
  130. ### Automatically suspend sinks/sources that become idle for too long
  131. load-module module-suspend-on-idle
  132.  
  133. ### If autoexit on idle is enabled we want to make sure we only quit
  134. ### when no local session needs us anymore.
  135. .ifexists module-console-kit.so
  136. #load-module module-console-kit
  137. .endif
  138. .ifexists module-systemd-login.so
  139. load-module module-systemd-login
  140. .endif
  141.  
  142. ### Enable positioned event sounds
  143. load-module module-position-event-sounds
  144.  
  145. ### Cork music/video streams when a phone stream is active
  146. load-module module-role-cork
  147.  
  148. ### Modules to allow autoloading of filters (such as echo cancellation)
  149. ### on demand. module-filter-heuristics tries to determine what filters
  150. ### make sense, and module-filter-apply does the heavy-lifting of
  151. ### loading modules and rerouting streams.
  152. load-module module-filter-heuristics
  153. load-module module-filter-apply
  154.  
  155. ### Make some devices default
  156. # ======= CamillaDSP - set default device =======
  157. set-default-sink camilladsp
  158. #set-default-source input
  159. [root@dtk /]#
  160.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement