akhilkalwakurthy

Untitled

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