summaryrefslogtreecommitdiffstats
path: root/polyp/polypaudio.pa
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-08-04 16:39:30 +0000
committerLennart Poettering <lennart@poettering.net>2004-08-04 16:39:30 +0000
commit46091a9237f17f4295dca7140d8d70b4fce8b357 (patch)
tree1c600cd6e1801586abfb66d767f2cd96e15c819c /polyp/polypaudio.pa
parent24291aff27c671c11619684cb10d3b36fdf87c0d (diff)
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
Diffstat (limited to 'polyp/polypaudio.pa')
-rwxr-xr-xpolyp/polypaudio.pa10
1 files changed, 8 insertions, 2 deletions
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