diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-12-07 21:37:35 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-12-07 21:37:35 +0000 |
commit | 9686f8097d45c306168d1a5220d9c8bf225edb8c (patch) | |
tree | 274d7f7d8a549f96a5459d9be257581980906be3 /libs/ardour/ardour/session_event.h | |
parent | dc86434283718b7c4a4ed6af52a950e6cfc5e86f (diff) |
first pass at end-to-end RT operation request (GUI->session->RT thread->GUI), just for rec-enable
git-svn-id: svn://localhost/ardour2/branches/3.0@6324 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/session_event.h')
-rw-r--r-- | libs/ardour/ardour/session_event.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/ardour/ardour/session_event.h b/libs/ardour/ardour/session_event.h index 07c795257f..a903e3cd4f 100644 --- a/libs/ardour/ardour/session_event.h +++ b/libs/ardour/ardour/session_event.h @@ -33,6 +33,7 @@ struct SessionEvent { InputConfigurationChange, SetPlayAudioRange, SetRecordEnable, + RealTimeOperation, /* only one of each of these events can be queued at any one time */ @@ -66,13 +67,14 @@ struct SessionEvent { RouteList* routes; }; + sigc::slot<void> rt_slot; /* what to call in RT context */ + sigc::slot<void,SessionEvent*> rt_return; /* called after rt_slot, with this event as an argument */ + std::list<AudioRange> audio_range; std::list<MusicRange> music_range; boost::shared_ptr<Region> region; - sigc::signal<void,SessionEvent*,int> Complete; - SessionEvent (Type t, Action a, nframes_t when, nframes_t where, double spd, bool yn = false, bool yn2 = false) : type (t) , action (a) |