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