diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-12 11:31:50 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-12 11:31:50 -0400 |
commit | b05968fb4e303ce47b6e09cd1bc713f3af28a6f9 (patch) | |
tree | 7e4a86c49d608febc893eeb907c75450ae7cff65 /gtk2_ardour/streamview.cc | |
parent | e5a3747686e3f2ef5dd0f1549848c3021513724c (diff) |
change frames_per_pixel to samples_per_pixel
Diffstat (limited to 'gtk2_ardour/streamview.cc')
-rw-r--r-- | gtk2_ardour/streamview.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/streamview.cc b/gtk2_ardour/streamview.cc index e2146d62ab..fac4572c92 100644 --- a/gtk2_ardour/streamview.cc +++ b/gtk2_ardour/streamview.cc @@ -56,7 +56,7 @@ StreamView::StreamView (RouteTimeAxisView& tv, ArdourCanvas::Group* background_g , owns_canvas_group (canvas_group == 0) , _background_group (background_group ? background_group : new ArdourCanvas::Group (_trackview.canvas_background())) , _canvas_group (canvas_group ? canvas_group : new ArdourCanvas::Group (_trackview.canvas_display())) - , _frames_per_pixel (_trackview.editor().get_current_zoom ()) + , _samples_per_pixel (_trackview.editor().get_current_zoom ()) , rec_updating(false) , rec_active(false) , stream_base_color(0xFFFFFFFF) @@ -144,7 +144,7 @@ StreamView::set_height (double h) } int -StreamView::set_frames_per_pixel (double fpp) +StreamView::set_samples_per_pixel (double fpp) { RegionViewList::iterator i; @@ -152,10 +152,10 @@ StreamView::set_frames_per_pixel (double fpp) return -1; } - _frames_per_pixel = fpp; + _samples_per_pixel = fpp; for (i = region_views.begin(); i != region_views.end(); ++i) { - (*i)->set_frames_per_pixel (fpp); + (*i)->set_samples_per_pixel (fpp); } for (vector<RecBoxInfo>::iterator xi = rec_rects.begin(); xi != rec_rects.end(); ++xi) { |