#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, samplecnt_t sample_rate) :
+ status (status),
+ start_sample (0),
+ end_sample (0),
+ position (0),
+ sample_rate (sample_rate),
+ _realtime (false)
{
+
}
ExportTimespan::~ExportTimespan ()
}
void
-ExportTimespan::set_range (nframes_t start, nframes_t end)
+ExportTimespan::set_range (samplepos_t start, samplepos_t end)
{
- start_frame = start;
- position = start_frame;
- end_frame = end;
+ start_sample = start;
+ position = start_sample;
+ end_sample = end;
}
} // namespace ARDOUR