Advertisement
Guest User

Untitled

a guest
Oct 6th, 2014
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.96 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 per-user
  20. # (i.e. not in system mode)
  21.  
  22. .nofail
  23.  
  24. .fail
  25.  
  26. load-module module-droid-keepalive
  27.  
  28. load-module module-meego-parameters cache=1 directory=/var/lib/nemo-pulseaudio-parameters use_voice=false
  29.  
  30. ### Automatically restore the volume of streams
  31. load-module module-stream-restore-nemo restore_device=no restore_volume=yes restore_muted=no route_table=/etc/pulse/x-maemo-route.table fallback_table=/etc/pulse/x-maemo-stream-restore.table use_voice=false sink_volume_table=/etc/pulse/x-maemo-sink-volume.table
  32.  
  33. load-module module-match table=/etc/pulse/x-maemo-match.table key=application.name
  34.  
  35. ### Automatically augment property information from .desktop files
  36. ### stored in /usr/share/application
  37. load-module module-augment-properties
  38.  
  39. load-module module-null-sink sink_name=sink.null rate=48000
  40.  
  41. load-module module-droid-card rate=48000 mute_routing_before=24576 mute_routing_after=4096
  42.  
  43. load-module module-null-sink sink_name=sink.fake.sco rate=8000 channels=1
  44. load-module module-null-source source_name=source.fake.sco rate=8000 channels=1
  45. load-module module-bluetooth-discover sco_sink=sink.fake.sco sco_source=source.fake.sco
  46.  
  47. load-module module-meego-mainvolume virtual_stream=true
  48.  
  49. load-module module-policy-enforcement
  50.  
  51. load-module module-role-ducking trigger_roles=alarm,notification,warning ducking_roles=x-maemo volume=-200dB
  52.  
  53. ### Load several protocols
  54. .ifexists module-esound-protocol-unix.so
  55. load-module module-esound-protocol-unix
  56. .endif
  57. load-module module-native-protocol-unix
  58.  
  59. ### Network access (may be configured with paprefs, so leave this commented
  60. ### here if you plan to use paprefs)
  61. #load-module module-esound-protocol-tcp
  62. #load-module module-native-protocol-tcp
  63.  
  64. ### Load the RTP receiver module (also configured via paprefs, see above)
  65. #load-module module-rtp-recv
  66.  
  67. ### Load the RTP sender module (also configured via paprefs, see above)
  68. #load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'"
  69. #load-module module-rtp-send source=rtp.monitor
  70.  
  71. ### Load additional modules from GConf settings. This can be configured with the paprefs tool.
  72. ### Please keep in mind that the modules configured by paprefs might conflict with manually
  73. ### loaded modules.
  74. .ifexists module-gconf.so
  75. .nofail
  76. load-module module-gconf
  77. .fail
  78. .endif
  79.  
  80. ### Make sure we always have a sink around, even if it is a null sink.
  81. load-module module-always-sink
  82.  
  83. ### Honour intended role device property
  84. load-module module-intended-roles
  85.  
  86. ### Automatically suspend sinks/sources that become idle for too long
  87. load-module module-suspend-on-idle timeout=1
  88.  
  89. ### If autoexit on idle is enabled we want to make sure we only quit
  90. ### when no local session needs us anymore.
  91. .ifexists module-console-kit.so
  92. load-module module-console-kit
  93. .endif
  94. .ifexists module-systemd-login.so
  95. load-module module-systemd-login
  96. .endif
  97.  
  98. ### Load DBus protocol
  99. .ifexists module-dbus-protocol.so
  100. load-module module-dbus-protocol
  101. .endif
  102.  
  103. load-module module-switch-on-port-available
  104.  
  105. ### Make some devices default
  106. set-default-sink sink.primary
  107. set-default-source source.primary
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement