fix file-name reported to analyzer when stem-exporting
authorRobin Gareus <robin@gareus.org>
Fri, 15 Jul 2016 14:54:07 +0000 (16:54 +0200)
committerRobin Gareus <robin@gareus.org>
Fri, 15 Jul 2016 14:58:51 +0000 (16:58 +0200)
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);
        }