Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate

Advertising

Paste Description for Anonymous

default.pa

Anonymous
Sunday, April 8th, 2007 at 11:10:47pm UTC 

  1. #!/usr/bin/pulseaudio -nF
  2.  
  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, write to the Free Software Foundation,
  18. # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
  19.  
  20.  
  21. ### Load audio drivers statically
  22. #load-module module-alsa-sink
  23. #load-module module-alsa-source device=plughw:1,0
  24. #load-module module-oss device="/dev/dsp" sink_name=output source_name=input
  25. #load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
  26. #load-module module-null-sink
  27. #load-module module-pipe-sink
  28.  
  29. .ifexists /usr/lib/pulse-0.9/modules/module-hal-detect.so
  30.  
  31. ### Automatically load driver modules depending on the hardware available
  32. load-module module-hal-detect
  33.  
  34. .else
  35.  
  36. ### Alternatively use the static hardware detection module (for systems that
  37. ### lack HAL support
  38. load-module module-detect
  39.  
  40. .endif
  41.  
  42. ### Load audio drivers automatically on access
  43. #add-autoload-sink output module-oss device="/dev/dsp" sink_name=output source_name=input
  44. #add-autoload-source input module-oss device="/dev/dsp" sink_name=output source_name=input
  45. #add-autoload-sink output module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
  46. #add-autoload-source input module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
  47. #add-autoload-sink output module-alsa-sink sink_name=output
  48. #add-autoload-source input module-alsa-source source_name=input
  49.  
  50. .ifexists /usr/lib/pulse-0.9/modules/module-esound-protocol-unix.so
  51.  
  52. ### Load esound protocol
  53. load-module module-esound-protocol-unix
  54.  
  55. .endif
  56.  
  57. ### Load native protocol
  58. load-module module-native-protocol-unix
  59.  
  60. ### Network access (may be configured with paprefs, so leave this commented
  61. ### here if you plan to use paprefs)
  62. #load-module module-esound-protocol-tcp
  63. #load-module module-native-protocol-tcp
  64. #load-module module-zeroconf-publish
  65.  
  66. ### Load the RTP reciever module (also configured via paprefs, see above)
  67. #load-module module-rtp-recv
  68.  
  69. ### Load the RTP sender module (also configured via paprefs, see above)
  70. #load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 description="RTP Multicast Sink"
  71. #load-module module-rtp-send source=rtp.monitor
  72.  
  73. ### Automatically restore the volume of playback streams
  74. load-module module-volume-restore
  75.  
  76. ### Automatically move streams to the default sink if the sink they are
  77. ### connected to dies, similar for sources
  78. load-module module-rescue-streams
  79.  
  80. ### Make some devices default
  81. #set-default-sink output
  82. #set-default-source input
  83.  
  84. .nofail
  85.  
  86. ### Load something to the sample cache
  87. load-sample x11-bell /usr/share/sounds/gtk-events/activate.wav
  88. #load-sample-dir-lazy /usr/share/sounds/*.wav
  89.  
  90. ### Load X11 bell module
  91. load-module module-x11-bell sample=x11-bell
  92.  
  93. ### Publish connection data in the X11 root window
  94. load-module module-x11-publish
  95.  
  96. ### Load additional modules from GConf settings. 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. load-module module-gconf

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right worth-right