]> code.delx.au - pulseaudio/blobdiff - src/modules/module-pipe-sink.c
introduce default channel map in addition to the default sample spec
[pulseaudio] / src / modules / module-pipe-sink.c
index 7dd4409892514ef0f451e1b37f8d6d10a47d2049..f3b0e8b0e6297d819c737e60414931f7fd741015 100644 (file)
@@ -234,6 +234,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;