properly calculate requrired thread buffers
[ardour.git] / libs / ardour / export_timespan.cc
index 948bf768d52bcdea3a34d75caf4b88db7937da87..3b2021355e1f9ecf7ce8c1a4ccad70709a25c9fd 100644 (file)
 
 #include "ardour/export_timespan.h"
 
-#include "ardour/export_channel_configuration.h"
-#include "ardour/export_filename.h"
-#include "ardour/export_failed.h"
-
 namespace ARDOUR
 {
 
-ExportTimespan::ExportTimespan (ExportStatusPtr status, nframes_t frame_rate) :
-  status (status),
-  start_frame (0),
-  end_frame (0),
-  position (0),
-  frame_rate (frame_rate)
+ExportTimespan::ExportTimespan (ExportStatusPtr status, framecnt_t frame_rate) :
+       status (status),
+       start_frame (0),
+       end_frame (0),
+       position (0),
+       frame_rate (frame_rate)
 {
+
 }
 
 ExportTimespan::~ExportTimespan ()
@@ -41,7 +38,7 @@ ExportTimespan::~ExportTimespan ()
 }
 
 void
-ExportTimespan::set_range (nframes_t start, nframes_t end)
+ExportTimespan::set_range (framepos_t start, framepos_t end)
 {
        start_frame = start;
        position = start_frame;