#include "ardour/ardour.h"
#include "ardour/automatable.h"
-#include "ardour/gain.h"
+#include "ardour/automation_list.h"
#include "ardour/logcurve.h"
#include "ardour/region.h"
ReadOpsNone = 0x0,
ReadOpsOwnAutomation = 0x1,
ReadOpsOwnScaling = 0x2,
- ReadOpsCount = 0x4,
- ReadOpsFades = 0x8
+ ReadOpsFades = 0x4
};
virtual framecnt_t read (Sample*, framepos_t pos, framecnt_t cnt, int channel) const;
virtual framecnt_t readable_length() const { return length(); }
virtual framecnt_t read_at (Sample *buf, Sample *mixdown_buf, float *gain_buf,
- framepos_t position,
- framecnt_t cnt,
- uint32_t chan_n = 0,
- framecnt_t read_frames = 0,
- framecnt_t skip_frames = 0) const;
-
+ framepos_t position,
+ framecnt_t cnt,
+ uint32_t chan_n = 0) const;
+
virtual framecnt_t master_read_at (Sample *buf, Sample *mixdown_buf, float *gain_buf,
framepos_t position, framecnt_t cnt, uint32_t chan_n=0) const;
-
+
virtual framecnt_t read_raw_internal (Sample*, framepos_t, framecnt_t, int channel) const;
XMLNode& state ();
return _automatable.control(id);
}
- /* export */
-
- int exportme (ARDOUR::Session&, ARDOUR::ExportSpecification&);
-
/* xfade/fade interactions */
void suspend_fade_in ();
PBD::Property<bool> _fade_out_active;
/** linear gain to apply to the whole region */
PBD::Property<gain_t> _scale_amplitude;
-
+
void register_properties ();
void post_set (const PBD::PropertyChange&);
Sample *buf, Sample *mixdown_buffer, float *gain_buffer,
framepos_t position, framecnt_t cnt,
uint32_t chan_n = 0,
- framecnt_t read_frames = 0,
- framecnt_t skip_frames = 0,
ReadOps readops = ReadOps (~0)) const;
void recompute_at_start ();