diff options
author | Robin Gareus <robin@gareus.org> | 2017-10-30 15:58:36 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-10-30 16:31:38 +0100 |
commit | 471644c59db05ed5b73253e545ef20cdd3d58fd8 (patch) | |
tree | 3925356ba2dd44e366b3480df4bed4798f467eaf /libs/ardour/ardour | |
parent | fba0fce4416578de29b7701cf4d400399d44ceff (diff) |
Parallel execution of cycle-start/end
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r-- | libs/ardour/ardour/port_manager.h | 4 | ||||
-rw-r--r-- | libs/ardour/ardour/session.h | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/libs/ardour/ardour/port_manager.h b/libs/ardour/ardour/port_manager.h index bfbf98c328..743c006fbd 100644 --- a/libs/ardour/ardour/port_manager.h +++ b/libs/ardour/ardour/port_manager.h @@ -189,14 +189,14 @@ class LIBARDOUR_API PortManager * This MUST be called before any reading/writing for this cycle. * Realtime safe. */ - void cycle_start (pframes_t nframes); + void cycle_start (pframes_t nframes, Session* s = 0); /** Signal the end of an audio cycle. * This signifies that the cycle began with @ref cycle_start has ended. * This MUST be called at the end of each cycle. * Realtime safe. */ - void cycle_end (pframes_t nframes); + void cycle_end (pframes_t nframes, Session* s = 0); typedef std::map<std::string,MidiPortInformation> MidiPortInfo; diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index b0e133f4c6..4ef5fe6635 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -141,6 +141,7 @@ class Region; class Return; class Route; class RouteGroup; +class RTTaskList; class SMFSource; class Send; class SceneChanger; @@ -288,6 +289,8 @@ public: return routes.reader (); } + boost::shared_ptr<RTTaskList> rt_tasklist () { return _rt_tasklist; } + CoreSelection& selection () { return *_selection; } /* because the set of Stripables consists of objects managed @@ -2079,6 +2082,8 @@ private: boost::shared_ptr<IO> _ltc_input; boost::shared_ptr<IO> _ltc_output; + boost::shared_ptr<RTTaskList> _rt_tasklist; + /* Scene Changing */ SceneChanger* _scene_changer; |