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 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 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.
22 #load module-alsa-sink
23 #load module-alsa-source device=plughw:1,0
24 #load module-oss device="/dev/dsp"
25 #load module-oss-mmap device="/dev/dsp"
27 # Load several protocols
28 load module-esound-protocol-tcp
29 load module-simple-protocol-tcp
30 load module-native-protocol-unix
31 load module-cli-protocol-unix
33 # Load X11 bell module
39 autoload_sink_add oss_output module-oss device="/dev/dsp" sink_name=oss_output source_name=oss_input
40 autoload_source_add oss_input module-oss device="/dev/dsp" sink_name=oss_output source_name=oss_input
42 # Make some devices default
43 sink_default oss_output
44 source_default oss_input
48 # Load something to the sample cache
49 scache_load /usr/share/sounds/KDE_Notify.wav x11-bell
50 scache_play x11-bell oss_output