RegionView (ArdourCanvas::Container* parent,
TimeAxisView& time_view,
boost::shared_ptr<ARDOUR::Region> region,
double samples_per_pixel,
uint32_t base_color,
RegionView (ArdourCanvas::Container* parent,
TimeAxisView& time_view,
boost::shared_ptr<ARDOUR::Region> region,
double samples_per_pixel,
uint32_t base_color,
RegionView (const RegionView& other);
RegionView (const RegionView& other, boost::shared_ptr<ARDOUR::Region> other_region);
~RegionView ();
RegionView (const RegionView& other);
RegionView (const RegionView& other, boost::shared_ptr<ARDOUR::Region> other_region);
~RegionView ();
virtual void init (bool wait_for_data);
boost::shared_ptr<ARDOUR::Region> region() const { return _region; }
virtual void init (bool wait_for_data);
boost::shared_ptr<ARDOUR::Region> region() const { return _region; }
static PBD::Signal1<void,RegionView*> RegionViewGoingAway;
/** Called when a front trim is about to begin */
virtual void trim_front_starting () {}
static PBD::Signal1<void,RegionView*> RegionViewGoingAway;
/** Called when a front trim is about to begin */
virtual void trim_front_starting () {}
- bool trim_end (framepos_t, bool, const int32_t sub_num);
- void move_contents (ARDOUR::frameoffset_t);
+ bool trim_end (samplepos_t, bool, const int32_t sub_num);
+ void move_contents (ARDOUR::sampleoffset_t);
- void set_silent_frames (const ARDOUR::AudioIntervalResult&, double threshold);
- void drop_silent_frames ();
- void hide_silent_frames ();
+ void set_silent_samples (const ARDOUR::AudioIntervalResult&, double threshold);
+ void drop_silent_samples ();
+ void hide_silent_samples ();
/** Allows derived types to specify their visibility requirements
* to the TimeAxisViewItem parent class
*/
RegionView (ArdourCanvas::Container *,
/** Allows derived types to specify their visibility requirements
* to the TimeAxisViewItem parent class
*/
RegionView (ArdourCanvas::Container *,
- TimeAxisView&,
- boost::shared_ptr<ARDOUR::Region>,
- double samples_per_pixel,
- uint32_t basic_color,
- bool recording,
- TimeAxisViewItem::Visibility);
+ TimeAxisView&,
+ boost::shared_ptr<ARDOUR::Region>,
+ double samples_per_pixel,
+ uint32_t basic_color,
+ bool recording,
+ TimeAxisViewItem::Visibility);
std::vector<GhostRegion*> ghosts;
/** a list of rectangles which are used in stacked display mode to colour
std::vector<GhostRegion*> ghosts;
/** a list of rectangles which are used in stacked display mode to colour
- different bits of regions according to whether or not they are the one
- that will be played at any given time.
- */
- std::list<ArdourCanvas::Rectangle*> _coverage_frames;
+ * different bits of regions according to whether or not they are the one
+ * that will be played at any given time.
+ */
+ std::list<ArdourCanvas::Rectangle*> _coverage_samples;
- std::list<ArdourCanvas::Rectangle*> _silent_threshold_frames;
- /** a text item to display strip silence statistics
- */
+ std::list<ArdourCanvas::Rectangle*> _silent_threshold_samples;
+ /** a text item to display strip silence statistics */