#include "ardour/ardour.h"
#include "ardour/audioengine.h"
+#include "ardour/debug.h"
#include "ardour/diskstream.h"
#include "ardour/utils.h"
#include "ardour/configuration.h"
Diskstream::~Diskstream ()
{
- if (_playlist)
+ DEBUG_TRACE (DEBUG::Destruction, string_compose ("Diskstream %1 deleted\n", _name));
+
+ if (_playlist) {
_playlist->release ();
+ }
}
void
} else {
last_recordable_frame += _roll_delay;
}
+
+ first_recordable_frame = max_frames;
}
last_possibly_recording = possibly_recording;
void
Diskstream::calculate_record_range(OverlapType ot, sframes_t transport_frame, nframes_t nframes,
- nframes_t& rec_nframes, nframes_t& rec_offset)
+ nframes_t& rec_nframes, nframes_t& rec_offset)
{
switch (ot) {
case OverlapNone: