Tweak colouring in the processor list.
[ardour.git] / libs / ardour / export_handler.cc
index 9ffb7c17789915170f9b9ae2613b63e260402e2a..104894abe3f5cef82f73e6f49793ebe06b9eda1f 100644 (file)
@@ -162,6 +162,7 @@ ExportHandler::start_timespan ()
 
        timespan_bounds = config_map.equal_range (current_timespan);
        graph_builder->reset ();
+       graph_builder->set_current_timespan (current_timespan);
        for (ConfigMap::iterator it = timespan_bounds.first; it != timespan_bounds.second; ++it) {
                // Filenames can be shared across timespans
                FileSpec & spec = it->second;
@@ -178,7 +179,7 @@ ExportHandler::start_timespan ()
 }
 
 int
-ExportHandler::process (nframes_t frames)
+ExportHandler::process (framecnt_t frames)
 {
        if (!export_status->running) {
                return 0;
@@ -190,11 +191,11 @@ ExportHandler::process (nframes_t frames)
 }
 
 int
-ExportHandler::process_timespan (nframes_t frames)
+ExportHandler::process_timespan (framecnt_t frames)
 {
        /* update position */
 
-       nframes_t frames_to_read = 0;
+       framecnt_t frames_to_read = 0;
        framepos_t const start = current_timespan->get_start();
        framepos_t const end = current_timespan->get_end();
        
@@ -538,7 +539,7 @@ void
 ExportHandler::frames_to_cd_frames_string (char* buf, framepos_t when)
 {
        framecnt_t remainder;
-       nframes_t fr = session.nominal_frame_rate();
+       framecnt_t fr = session.nominal_frame_rate();
        int mins, secs, frames;
 
        mins = when / (60 * fr);