Add stem export dialog and make all different export dialogs save their config to...
[ardour.git] / libs / ardour / export_graph_builder.cc
index c7a1efebd1ca9fc1cd707cf00c18dc27e47bee0c..51b4c7042cc32dc22c3814cb3594e7dde9d85dad 100644 (file)
@@ -187,6 +187,7 @@ ExportGraphBuilder::Encoder::init_writer (boost::shared_ptr<AudioGrapher::Sndfil
 {
        unsigned channels = config.channel_config->get_n_chans();
        int format = get_real_format (config);
+       config.filename->set_channel_config(config.channel_config);
        string filename = config.filename->get_path (config.format);
        
        writer.reset (new AudioGrapher::SndfileWriter<T> (filename, format, channels, config.format->sample_rate(), config.broadcast_info));