mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
Update session extents calculation
* Expose API via Public Editor * Skip hidden tracks in calculation * Use a single call to query playlist extents. This way the playlist read-lock is needed at most once per track which speeds up calculation.
This commit is contained in:
parent
548db7a9a4
commit
aecd84e7fd
2 changed files with 14 additions and 12 deletions
|
|
@ -480,6 +480,8 @@ public:
|
|||
|
||||
virtual void get_pointer_position (double &, double &) const = 0;
|
||||
|
||||
virtual std::pair <samplepos_t, samplepos_t> session_gui_extents (bool use_extra = true) const = 0;
|
||||
|
||||
virtual ARDOUR::Location* find_location_from_marker (ArdourMarker*, bool&) const = 0;
|
||||
virtual ArdourMarker* find_marker_from_location_id (PBD::ID const&, bool) const = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue