diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-08-09 12:15:37 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-08-09 12:15:37 -0400 |
commit | a34d7071753867b9aba3bca2f3436ed4a980c895 (patch) | |
tree | 20e7e3658bec5eb220b7330695c74b8a9034df52 /libs/ardour/ardour/audioengine.h | |
parent | da7451991178ad224acac55d177011e32204cac7 (diff) |
split up session code that uses parts of the JACK API (timebase + session event handling) and connect it directly to the jack audiobackend
i've made the audiobackend call the session directly so that only one object (ARDOUR::Session) has a need for the JACK types
and only one .cc file (session_jack.cc) needs jack.h. having ARDOUR::AudioEngine act as an intermediary would be cleaner
conceptually but would end up causing two different ARDOUR objects to have jack types in their own API.
Diffstat (limited to 'libs/ardour/ardour/audioengine.h')
-rw-r--r-- | libs/ardour/ardour/audioengine.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libs/ardour/ardour/audioengine.h b/libs/ardour/ardour/audioengine.h index 509d330f12..f05944797d 100644 --- a/libs/ardour/ardour/audioengine.h +++ b/libs/ardour/ardour/audioengine.h @@ -129,7 +129,8 @@ public: void set_session (Session *); void remove_session (); // not a replacement for SessionHandle::session_going_away() - + Session* session() const { return _session; } + class NoBackendAvailable : public std::exception { public: virtual const char *what() const throw() { return "could not connect to engine backend"; } @@ -148,12 +149,7 @@ public: PBD::Signal1<int, pframes_t> Freewheel; PBD::Signal0<void> Xrun; - -#ifdef HAVE_JACK_SESSION - PBD::Signal1<void,jack_session_event_t *> JackSessionEvent; -#endif - /* this signal is emitted if the sample rate changes */ PBD::Signal1<void, framecnt_t> SampleRateChanged; |