X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fmidi_region_view.h;h=c3084aee384a24e1f2d3700ee52dbce91ce8686f;hb=0b0d252acf107dd1498fd212d32677089d20bdc4;hp=120d571725f10ca7440a5f8445e9cfeb1eb819f1;hpb=5de9a8f38b0e18317b2b23c5b8698d0d29eba12b;p=ardour.git diff --git a/gtk2_ardour/midi_region_view.h b/gtk2_ardour/midi_region_view.h index 120d571725..c3084aee38 100644 --- a/gtk2_ardour/midi_region_view.h +++ b/gtk2_ardour/midi_region_view.h @@ -253,13 +253,13 @@ public: */ framepos_t snap_pixel_to_frame(double x); - /** Convert a timestamp in beats into frames (both relative to region start) */ + /** Convert a timestamp in beats into frames (both relative to region position) */ framepos_t region_beats_to_region_frames(double beats) const; /** Convert a timestamp in beats into absolute frames */ framepos_t region_beats_to_absolute_frames(double beats) const { return _region->position() + region_beats_to_region_frames (beats); } - /** Convert a timestamp in frames to beats (both relative to region start) */ + /** Convert a timestamp in frames to beats (both relative to region position) */ double region_frames_to_region_beats(framepos_t) const; /** Convert a timestamp in beats measured from source start into absolute frames */ @@ -363,7 +363,6 @@ private: void show_verbose_cursor (std::string const &, double, double) const; void show_verbose_cursor (boost::shared_ptr) const; - int8_t _force_channel; uint16_t _last_channel_selection; uint8_t _current_range_min; uint8_t _current_range_max;