summaryrefslogtreecommitdiff
path: root/src/modules/module-pipe-source.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-02-21 16:32:42 +0100
committerLennart Poettering <lennart@poettering.net>2009-02-21 16:32:42 +0100
commit4505bc9cc6bb1f9206f922a992a9be0e17703df1 (patch)
tree7a98f5c2990b19683dccbfb9128ba1cd5c9bacd9 /src/modules/module-pipe-source.c
parent27bfa607b90b25aa4fdefc0882091093164297a5 (diff)
downloadpulseaudio-4505bc9cc6bb1f9206f922a992a9be0e17703df1.tar.gz
introduce default channel map in addition to the default sample spec
Diffstat (limited to 'src/modules/module-pipe-source.c')
-rw-r--r--src/modules/module-pipe-source.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/module-pipe-source.c b/src/modules/module-pipe-source.c
index 975090c2d..a42c53c36 100644
--- a/src/modules/module-pipe-source.c
+++ b/src/modules/module-pipe-source.c
@@ -221,6 +221,7 @@ int pa__init(pa_module*m) {
}
ss = m->core->default_sample_spec;
+ map = m->core->default_channel_map;
if (pa_modargs_get_sample_spec_and_channel_map(ma, &ss, &map, PA_CHANNEL_MAP_DEFAULT) < 0) {
pa_log("invalid sample format specification or channel map");
goto fail;