]> code.delx.au - pulseaudio/blobdiff - src/modules/module-pipe-source.c
introduce default channel map in addition to the default sample spec
[pulseaudio] / src / modules / module-pipe-source.c
index 975090c2da5308fb242ddf5ec769e4e104dc1453..a42c53c365f555da12b3376d90c71730a965a51c 100644 (file)
@@ -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;