1 #!@POLYPAUDIO_BINARY@ -nF
4 # This file is part of polypaudio.
6 # polypaudio 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.
11 # polypaudio 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.
16 # You should have received a copy of the GNU Lesser General Public License
17 # along with polypaudio; if not, write to the Free Software Foundation,
18 # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
21 # Load audio drivers statically
23 #load-module module-alsa-sink
24 # load-module module-alsa-source device=plughw:1,0
25 load-module module-oss device="/dev/dsp" sink_name=output source_name=input
26 #load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
27 load-module module-null-sink
28 #load-module module-pipe-sink
30 # Load audio drivers automatically on access
32 #add-autoload-sink output module-oss device="/dev/dsp" sink_name=output source_name=input
33 #add-autoload-source input module-oss device="/dev/dsp" sink_name=output source_name=input
34 #add-autoload-sink output module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
35 #add-autoload-source input module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
36 #add-autoload-sink output module-alsa-sink sink_name=output
37 #add-autoload-source input module-alsa-source source_name=input
39 # Load several protocols
40 load-module module-esound-protocol-unix
41 #load-module module-esound-protocol-tcp
42 load-module module-native-protocol-unix
43 #load-module module-simple-protocol-tcp
44 #load-module module-cli-protocol-unix
47 load-module module-cli
49 # Make some devices default
50 set-default-sink output
51 set-default-source input
55 # Load something to the sample cache
56 load-sample x11-bell /usr/share/sounds/KDE_Notify.wav
57 load-sample-dir-lazy /usr/share/sounds/*.wav
59 # Load X11 bell module
60 load-module module-x11-bell sample=x11-bell sink=output
62 # Publish connection data in the X11 root window
63 load-module module-x11-publish
65 #load-module module-pipe-source
66 #load-module module-pipe-sink