]> code.delx.au - pulseaudio/blob - polyp/default.pa.in
95d4be581793a6b453c43ebc8490883f9fe80e0c
[pulseaudio] / polyp / default.pa.in
1 #!@POLYPAUDIO_BINARY@ -nF
2
3 #
4 # This file is part of polypaudio.
5 #
6 # polypaudio is free software; you can redistribute it and/or modify it
7 # under the terms of the GNU 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 # 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.
15 #
16 # You should have received a copy of the GNU 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.
19
20
21 # Load audio drivers statically
22
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 record=0
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
29
30 # Load audio drivers automatically on access
31
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
38
39 # Load several protocols
40 load-module module-esound-protocol-tcp
41 #load-module module-simple-protocol-tcp
42 load-module module-native-protocol-unix
43 #load-module module-cli-protocol-unix
44 #load-module module-esound-protocol-unix
45
46 # Load the CLI module
47 load-module module-cli
48
49 # Make some devices default
50 set-default-sink output
51 set-default-source input
52
53 .nofail
54
55 # Load something to the sample cache
56 load-sample x11-bell /usr/share/sounds/KDE_Notify.wav
57
58 # Load X11 bell module
59 load-module module-x11-bell sample=x11-bell sink=output
60
61 #load-module module-pipe-source
62 #load-module module-pipe-sink
63