X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Feditor_export_audio.cc;h=877a39e7730478303b4898071a02230eb9583792;hb=b604dd24139b4c84f20521af91ec4c0cd721bd13;hp=94f43a0e5ec8808a63e0bdacee560cce1ac8abe1;hpb=105caf23daf5aed16c7ee8b904fcca2ddbd4f59f;p=ardour.git diff --git a/gtk2_ardour/editor_export_audio.cc b/gtk2_ardour/editor_export_audio.cc index 94f43a0e5e..877a39e773 100644 --- a/gtk2_ardour/editor_export_audio.cc +++ b/gtk2_ardour/editor_export_audio.cc @@ -60,7 +60,7 @@ using namespace Gtk; void Editor::export_audio () { - ExportDialog dialog (*this, _("Export"), X_("ExportProfile")); + ExportDialog dialog (*this, _("Export"), ExportProfileManager::RegularExport); dialog.set_session (_session); dialog.run(); } @@ -274,7 +274,7 @@ Editor::write_region (string path, boost::shared_ptr region) try { fs = boost::dynamic_pointer_cast ( SourceFactory::createWritable (DataType::AUDIO, *_session, - path, string(), true, + path, true, false, _session->frame_rate())); } @@ -413,7 +413,7 @@ Editor::write_audio_range (AudioPlaylist& playlist, const ChanCount& count, list try { fs = boost::dynamic_pointer_cast ( SourceFactory::createWritable (DataType::AUDIO, *_session, - path, string(), true, + path, true, false, _session->frame_rate())); }