summaryrefslogtreecommitdiff
path: root/gtk2_ardour/region_view.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-04-09 00:31:29 +0200
committerRobin Gareus <robin@gareus.org>2019-04-09 00:31:29 +0200
commiteb4e854a5685c588aa01b789eb6d38be2ee57747 (patch)
tree7845f282a68330b268c3dbab6fd70f2647921d53 /gtk2_ardour/region_view.h
parent01a43c6b1e30f9bef7fabf5f52cc031f149aaefa (diff)
Replace some more "samples" with "frames" (rectangles)
Diffstat (limited to 'gtk2_ardour/region_view.h')
-rw-r--r--gtk2_ardour/region_view.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/region_view.h b/gtk2_ardour/region_view.h
index e8bb0052cd..a7a8733896 100644
--- a/gtk2_ardour/region_view.h
+++ b/gtk2_ardour/region_view.h
@@ -116,9 +116,9 @@ public:
void move_contents (ARDOUR::sampleoffset_t);
virtual void thaw_after_trim ();
- void set_silent_samples (const ARDOUR::AudioIntervalResult&, double threshold);
- void drop_silent_samples ();
- void hide_silent_samples ();
+ void set_silent_frames (const ARDOUR::AudioIntervalResult&, double threshold);
+ void drop_silent_frames ();
+ void hide_silent_frames ();
struct PositionOrder {
bool operator()(const RegionView* a, const RegionView* b) {
@@ -188,7 +188,7 @@ protected:
/** a list of rectangles used to show silent segments
*/
- std::list<ArdourCanvas::Rectangle*> _silent_samples;
+ std::list<ArdourCanvas::Rectangle*> _silent_frames;
/** a list of rectangles used to show the current silence threshold
*/
std::list<ArdourCanvas::Rectangle*> _silent_threshold_samples;