From 964bdfd1e8255b57e9d22cd22b3784e2fc79b905 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 5 Aug 2004 19:53:57 +0000 Subject: add initial glib mainloop adapter clean up mainloop API git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@105 fefdeb5f-60dc-0310-8127-8f9354f1896f --- polyp/polypaudio.pa | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) (limited to 'polyp/polypaudio.pa') diff --git a/polyp/polypaudio.pa b/polyp/polypaudio.pa index 0989a78d..71513565 100755 --- a/polyp/polypaudio.pa +++ b/polyp/polypaudio.pa @@ -18,33 +18,41 @@ # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. -# Load audio drivers +# Load audio drivers statically + #load module-alsa-sink #load module-alsa-source device=plughw:1,0 -#load module-oss device="/dev/dsp" +#load module-oss device="/dev/dsp" sink_name=output source_name=input #load module-oss-mmap device="/dev/dsp" +# Load audio drivers automatically on access + +#autoload_sink_add output module-oss device="/dev/dsp" sink_name=output source_name=input +#autoload_source_add input module-oss device="/dev/dsp" sink_name=output source_name=input +autoload_sink_add output module-oss-mmap device="/dev/dsp" sink_name=output source_name=input +autoload_source_add input module-oss-mmap device="/dev/dsp" sink_name=output source_name=input +#autoload_sink_add output module-alsa-sink sink_name=output +#autoload_source_add input module-alsa-source source_name=input + # Load several protocols load module-esound-protocol-tcp load module-simple-protocol-tcp load module-native-protocol-unix load module-cli-protocol-unix -# Load X11 bell module -load module-x11-bell - # Load the CLI module load module-cli -autoload_sink_add oss_output module-oss device="/dev/dsp" sink_name=oss_output source_name=oss_input -autoload_source_add oss_input module-oss device="/dev/dsp" sink_name=oss_output source_name=oss_input - # Make some devices default -sink_default oss_output -source_default oss_input +sink_default output +source_default input .nofail # Load something to the sample cache scache_load /usr/share/sounds/KDE_Notify.wav x11-bell -scache_play x11-bell oss_output +scache_play x11-bell output + +# Load X11 bell module +load module-x11-bell sample=x11-bell sink=output + -- cgit