fix file-name reported to analyzer when stem-exporting
[ardour.git] / libs / ardour / export_graph_builder.cc
index 49b40a673608c7991d62463523d94e4e0514a08a..2e9972b47d14e2d04b4933a594673ec4592901c5 100644 (file)
@@ -318,6 +318,8 @@ ExportGraphBuilder::SFC::SFC (ExportGraphBuilder &parent, FileSpec const & new_c
                analyser.reset (new Analyser (config.format->sample_rate(), channels, max_frames,
                                        (framecnt_t) ceil (duration * config.format->sample_rate () / (double) sample_rate)));
                chunker->add_output (analyser);
+
+               config.filename->set_channel_config (config.channel_config);
                parent.add_analyser (config.filename->get_path (config.format), analyser);
        }