lock processor list and reconfigure processors after moving meter or control outs...
[ardour.git] / libs / ardour / export_timespan.cc
index 4eb5b5a4758cb335f0e6920c67338b858bf5ab3e..d638c84b16b1bd096104bcbcd50c01d2354b874f 100644 (file)
 
 */
 
-#include <ardour/export_timespan.h>
+#include "ardour/export_timespan.h"
 
-#include <ardour/export_channel_configuration.h>
-#include <ardour/export_filename.h>
-#include <ardour/export_file_io.h>
-#include <ardour/export_failed.h>
+#include "ardour/export_channel_configuration.h"
+#include "ardour/export_filename.h"
+#include "ardour/export_file_io.h"
+#include "ardour/export_failed.h"
 
 namespace ARDOUR
 {
@@ -64,7 +64,7 @@ ExportTimespan::get_data (float * data, nframes_t frames, ExportChannelPtr chann
        if (it == filemap.end()) {
                throw ExportFailed (X_("Trying to get data from ExportTimespan for channel that was never registered!"));
        }
-       
+
        return it->second->read (data, frames);
 }
 
@@ -84,26 +84,26 @@ ExportTimespan::process (nframes_t frames)
        /* update position */
 
        nframes_t frames_to_read;
-       
+
        if (position + frames <= end_frame) {
                frames_to_read = frames;
        } else {
                frames_to_read = end_frame - position;
                status->stop = true;
        }
-       
+
        position += frames_to_read;
        status->progress = (float) (position - start_frame) / (end_frame - start_frame);
 
        /* Read channels from ports and save to tempfiles */
 
        float * data = new float[frames_to_read];
-       
+
        for (TempFileMap::iterator it = filemap.begin(); it != filemap.end(); ++it) {
                it->first->read (data, frames_to_read);
                it->second->write (data, frames_to_read);
        }
-       
+
        delete [] data;
 
        return 0;