2006-07-19 18:14:14 +00:00
|
|
|
#!@PA_BINARY@ -nF
|
2004-07-14 21:52:41 +00:00
|
|
|
|
2004-07-16 20:02:44 +00:00
|
|
|
#
|
2006-06-19 21:53:48 +00:00
|
|
|
# This file is part of PulseAudio.
|
2004-07-16 20:02:44 +00:00
|
|
|
#
|
2006-06-19 21:53:48 +00:00
|
|
|
# PulseAudio is free software; you can redistribute it and/or modify it
|
2004-11-14 14:58:54 +00:00
|
|
|
# under the terms of the GNU Lesser General Public License as published by
|
2004-07-16 20:02:44 +00:00
|
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
|
|
|
# (at your option) any later version.
|
|
|
|
|
#
|
2006-06-19 21:53:48 +00:00
|
|
|
# PulseAudio is distributed in the hope that it will be useful, but
|
2004-07-16 20:02:44 +00:00
|
|
|
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
|
# General Public License for more details.
|
|
|
|
|
#
|
2004-11-14 14:58:54 +00:00
|
|
|
# You should have received a copy of the GNU Lesser General Public License
|
2006-06-19 21:53:48 +00:00
|
|
|
# along with PulseAudio; if not, write to the Free Software Foundation,
|
2004-07-16 20:02:44 +00:00
|
|
|
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
|
|
|
|
|
|
|
|
|
|
2006-05-17 15:38:58 +00:00
|
|
|
### Load audio drivers statically
|
2004-09-14 23:08:39 +00:00
|
|
|
#load-module module-alsa-sink
|
2006-09-07 13:29:59 +00:00
|
|
|
#load-module module-alsa-source device=hw:1,0
|
2006-05-17 15:38:58 +00:00
|
|
|
#load-module module-oss device="/dev/dsp" sink_name=output source_name=input
|
2004-09-14 23:08:39 +00:00
|
|
|
#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
|
2006-05-17 15:38:58 +00:00
|
|
|
#load-module module-null-sink
|
2004-09-14 23:08:39 +00:00
|
|
|
#load-module module-pipe-sink
|
2004-07-14 21:52:41 +00:00
|
|
|
|
2006-05-17 15:38:58 +00:00
|
|
|
### Automatically load driver modules depending on the hardware available
|
2006-09-20 19:02:45 +00:00
|
|
|
@HAVE_HAL_TRUE@load-module module-hal-detect
|
2006-08-25 12:12:13 +00:00
|
|
|
|
|
|
|
|
### Alternatively use the static hardware detection module (for systems that
|
|
|
|
|
### lack HAL support
|
2006-09-20 19:02:45 +00:00
|
|
|
@HAVE_HAL_FALSE@load-module module-detect
|
2004-08-05 19:53:57 +00:00
|
|
|
|
2006-05-17 15:38:58 +00:00
|
|
|
### Load audio drivers automatically on access
|
2004-09-20 20:52:35 +00:00
|
|
|
#add-autoload-sink output module-oss device="/dev/dsp" sink_name=output source_name=input
|
|
|
|
|
#add-autoload-source input module-oss device="/dev/dsp" sink_name=output source_name=input
|
|
|
|
|
#add-autoload-sink output module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
|
|
|
|
|
#add-autoload-source input module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
|
|
|
|
|
#add-autoload-sink output module-alsa-sink sink_name=output
|
|
|
|
|
#add-autoload-source input module-alsa-source source_name=input
|
2004-08-05 19:53:57 +00:00
|
|
|
|
2006-05-17 15:38:58 +00:00
|
|
|
### Load several protocols
|
2004-11-21 21:31:28 +00:00
|
|
|
load-module module-esound-protocol-unix
|
2004-09-14 23:08:39 +00:00
|
|
|
load-module module-native-protocol-unix
|
2006-07-27 18:35:17 +00:00
|
|
|
|
2006-08-25 12:12:13 +00:00
|
|
|
### Network access (may be configured with paprefs, so leave this commented
|
|
|
|
|
### here if you plan to use paprefs)
|
2006-07-27 18:35:17 +00:00
|
|
|
#load-module module-esound-protocol-tcp
|
2006-05-17 15:38:58 +00:00
|
|
|
#load-module module-native-protocol-tcp
|
2006-07-27 18:35:17 +00:00
|
|
|
#load-module module-zeroconf-publish
|
2006-05-17 15:38:58 +00:00
|
|
|
|
2006-08-25 12:12:13 +00:00
|
|
|
### Load the RTP reciever module (also configured via paprefs, see above)
|
2006-05-17 15:38:58 +00:00
|
|
|
#load-module module-rtp-recv
|
2004-07-14 21:52:41 +00:00
|
|
|
|
2006-08-25 12:12:13 +00:00
|
|
|
### Load the RTP sender module (also configured via paprefs, see above)
|
|
|
|
|
#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 description="RTP Multicast Sink"
|
|
|
|
|
#load-module module-rtp-send source=rtp.monitor
|
2004-07-16 17:03:11 +00:00
|
|
|
|
2006-05-17 15:38:58 +00:00
|
|
|
### Automatically restore the volume of playback streams
|
|
|
|
|
load-module module-volume-restore
|
|
|
|
|
|
2006-08-25 12:12:13 +00:00
|
|
|
### Automatically move streams to the default sink if the sink they are
|
|
|
|
|
### connected to dies, similar for sources
|
2006-08-13 17:35:46 +00:00
|
|
|
load-module module-rescue-streams
|
|
|
|
|
|
2006-05-17 15:38:58 +00:00
|
|
|
### Make some devices default
|
|
|
|
|
#set-default-sink output
|
|
|
|
|
#set-default-source input
|
2004-07-16 17:51:53 +00:00
|
|
|
|
2004-08-04 16:39:30 +00:00
|
|
|
.nofail
|
|
|
|
|
|
2006-05-17 15:38:58 +00:00
|
|
|
### Load something to the sample cache
|
|
|
|
|
load-sample x11-bell /usr/share/sounds/gtk-events/activate.wav
|
|
|
|
|
#load-sample-dir-lazy /usr/share/sounds/*.wav
|
2004-08-05 19:53:57 +00:00
|
|
|
|
2006-05-17 15:38:58 +00:00
|
|
|
### Load X11 bell module
|
|
|
|
|
load-module module-x11-bell sample=x11-bell
|
2004-09-06 17:47:04 +00:00
|
|
|
|
2006-05-17 15:38:58 +00:00
|
|
|
### Publish connection data in the X11 root window
|
2004-11-21 21:31:28 +00:00
|
|
|
load-module module-x11-publish
|
|
|
|
|
|
2006-07-27 18:35:17 +00:00
|
|
|
### Load additional modules from GConf settings. This can be configured with the paprefs tool.
|
|
|
|
|
### Please keep in mind that the modules configured by paprefs might conflict with manually
|
|
|
|
|
### loaded modules.
|
|
|
|
|
load-module module-gconf
|