X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fardour%2Fmidi_region.h;h=9868d1408fe3acceb957a991dc69d37fe65bd18d;hb=452672f78f5f0f9195bfd48398e29b18a8fb1df7;hp=9e8c7441fc072de8bf08eb36cbfbce260f37e1a5;hpb=0bc8832e208154a0f172d34182ed6b0bc8bba52f;p=ardour.git diff --git a/libs/ardour/ardour/midi_region.h b/libs/ardour/ardour/midi_region.h index 9e8c7441fc..9868d1408f 100644 --- a/libs/ardour/ardour/midi_region.h +++ b/libs/ardour/ardour/midi_region.h @@ -35,6 +35,7 @@ namespace ARDOUR { MidiModel used by the MidiRegion */ extern PBD::PropertyDescriptor midi_data; + extern PBD::PropertyDescriptor start_beats; extern PBD::PropertyDescriptor length_beats; } } @@ -95,8 +96,6 @@ class MidiRegion : public Region /* export */ - int exportme (ARDOUR::Session&, ARDOUR::ExportSpecification&); - boost::shared_ptr model(); boost::shared_ptr model() const; @@ -111,6 +110,7 @@ class MidiRegion : public Region private: friend class RegionFactory; + PBD::Property _start_beats; PBD::Property _length_beats; MidiRegion (const SourceList&); @@ -138,6 +138,9 @@ class MidiRegion : public Region void model_automation_state_changed (Evoral::Parameter const &); void model_contents_changed (); + void set_start_beats_from_start_frames (); + void update_after_tempo_map_change (); + std::set _filtered_parameters; ///< parameters that we ask our source not to return when reading PBD::ScopedConnection _model_connection; PBD::ScopedConnection _source_connection;