summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpolyp/default.pa.in1
-rw-r--r--polyp/module-null-sink.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/polyp/default.pa.in b/polyp/default.pa.in
index 97b20963..95d4be58 100755
--- a/polyp/default.pa.in
+++ b/polyp/default.pa.in
@@ -24,6 +24,7 @@
load-module module-alsa-source device=plughw:1,0
load-module module-oss device="/dev/dsp" sink_name=output source_name=input record=0
#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
+load-module module-null-sink
#load-module module-pipe-sink
# Load audio drivers automatically on access
diff --git a/polyp/module-null-sink.c b/polyp/module-null-sink.c
index e48e9668..86542010 100644
--- a/polyp/module-null-sink.c
+++ b/polyp/module-null-sink.c
@@ -90,13 +90,13 @@ int pa__init(struct pa_core *c, struct pa_module*m) {
assert(c && m);
if (!(ma = pa_modargs_new(m->argument, valid_modargs))) {
- pa_log(__FILE__": failed to parse module arguments\n");
+ pa_log(__FILE__": failed to parse module arguments.\n");
goto fail;
}
ss = c->default_sample_spec;
if (pa_modargs_get_sample_spec(ma, &ss) < 0) {
- pa_log(__FILE__": invalid sample format specification\n");
+ pa_log(__FILE__": invalid sample format specification.\n");
goto fail;
}