From 46091a9237f17f4295dca7140d8d70b4fce8b357 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 4 Aug 2004 16:39:30 +0000 Subject: introduce pa_xmalloc() and friends implement module auto loading git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@103 fefdeb5f-60dc-0310-8127-8f9354f1896f --- polyp/polypaudio.pa | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'polyp/polypaudio.pa') diff --git a/polyp/polypaudio.pa b/polyp/polypaudio.pa index 79ca83ea..0989a78d 100755 --- a/polyp/polypaudio.pa +++ b/polyp/polypaudio.pa @@ -21,7 +21,7 @@ # Load audio drivers #load module-alsa-sink #load module-alsa-source device=plughw:1,0 -load module-oss device="/dev/dsp" +#load module-oss device="/dev/dsp" #load module-oss-mmap device="/dev/dsp" # Load several protocols @@ -36,9 +36,15 @@ load module-x11-bell # Load the CLI module load module-cli -.nofail +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 +.nofail + +# Load something to the sample cache +scache_load /usr/share/sounds/KDE_Notify.wav x11-bell +scache_play x11-bell oss_output -- cgit