]> code.delx.au - pulseaudio/blob - polyp/polypaudio.pa
correct latency calculation
[pulseaudio] / polyp / polypaudio.pa
1 #!./polypaudio -rnF
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-alsa-sink
24 load module-alsa-source device=plughw:1,0
25 load module-oss device="/dev/dsp" sink_name=output source_name=input record=0
26 #load module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
27 #load module-pipe-sink
28
29 # Load audio drivers automatically on access
30
31 #autoload_sink_add output module-oss device="/dev/dsp" sink_name=output source_name=input
32 #autoload_source_add input module-oss device="/dev/dsp" sink_name=output source_name=input
33 #autoload_sink_add output module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
34 #autoload_source_add input module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
35 #autoload_sink_add output module-alsa-sink sink_name=output
36 #autoload_source_add input module-alsa-source source_name=input
37
38 # Load several protocols
39 load module-esound-protocol-tcp
40 #load module-simple-protocol-tcp
41 load module-native-protocol-unix
42 #load module-cli-protocol-unix
43 #load module-esound-protocol-unix
44
45 # Load the CLI module
46 load module-cli
47
48 # Make some devices default
49 sink_default output
50 source_default input
51
52 .nofail
53
54 # Load something to the sample cache
55 scache_load /usr/share/sounds/KDE_Notify.wav x11-bell
56
57 # Load X11 bell module
58 load module-x11-bell sample=x11-bell sink=output
59
60 #load module-pipe-source
61 #load module-pipe-sink
62