diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-12-07 14:18:06 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-12-07 14:18:06 +0000 |
commit | 8dab33c609bdf588aa33cd4e34019f7319f078d6 (patch) | |
tree | 0ecf90dda51d0947085ba78206f9188f43e2f2cc /libs/ardour/session_events.cc | |
parent | 1a447016437727452fdf00e7c762f339c796f736 (diff) |
Route::set_meter_point() is now conceptually RT safe, although it still takes a write lock on the processor list. this allows it to be called when setting rec-enable status on a route. not thoroughly tested, and still incomplete - single route rec-enables should probably use this pathway, and there is still no cross-thread cleanup from an RT route op request
git-svn-id: svn://localhost/ardour2/branches/3.0@6320 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session_events.cc')
-rw-r--r-- | libs/ardour/session_events.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libs/ardour/session_events.cc b/libs/ardour/session_events.cc index 8818436ed7..7b24b1abef 100644 --- a/libs/ardour/session_events.cc +++ b/libs/ardour/session_events.cc @@ -69,7 +69,7 @@ SessionEvent::operator delete (void *ptr, size_t /*size*/) { Pool* p = pool->per_thread_pool (); SessionEvent* ev = static_cast<SessionEvent*> (ptr); - + if (p == ev->own_pool) { p->release (ptr); } else { @@ -278,3 +278,10 @@ SessionEventManager::_clear_event_type (SessionEvent::Type type) set_next_event (); } +#if 0 +void +Session::process_rtop (SessionEvent* ev) +{ + ev->rt_return (ev->rt_slot ()); +} +#endif |