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 ();
void set_fade_out (FadeShape, framecnt_t);
void set_fade_out (boost::shared_ptr<AutomationList>);
- void set_default_fades ();
-
void set_envelope_active (bool yn);
void set_default_envelope ();
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&);
void init ();
+ void set_default_fades ();
void set_default_fade_in ();
void set_default_fade_out ();
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 ();