plugin-pin management.. nearly there
[ardour.git] / libs / ardour / session_export.cc
index 6b54db3826b8d923e16b78896d2ac39dea1a8214..efb731463f7151e2adcc50688e08f5669416655c 100644 (file)
@@ -110,7 +110,7 @@ Session::start_audio_export (framepos_t position)
                pre_export ();
        }
 
-       _export_preroll = 10.0 * nominal_frame_rate (); // TODO make configurable
+       _export_preroll = Config->get_export_preroll() * nominal_frame_rate ();
 
        /* We're about to call Track::seek, so the butler must have finished everything
           up otherwise it could be doing do_refill in its thread while we are doing