From 1c4d00e8b70785ce58f868645dad93afa1855193 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 3 Aug 2013 11:57:56 -0400 Subject: audioengine branch can now load and run at least one test session. currently hard-coded to deal only with the situation where JACK is already running --- libs/ardour/ardour/audio_backend.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'libs/ardour/ardour/audio_backend.h') diff --git a/libs/ardour/ardour/audio_backend.h b/libs/ardour/ardour/audio_backend.h index 6aee33a507..18c8cb8931 100644 --- a/libs/ardour/ardour/audio_backend.h +++ b/libs/ardour/ardour/audio_backend.h @@ -340,7 +340,7 @@ class AudioBackend { virtual int create_process_thread (boost::function func, pthread_t*, size_t stacksize) = 0; virtual void update_latencies () = 0; - + protected: AudioEngine& engine; }; @@ -353,6 +353,15 @@ struct AudioBackendInfo { boost::shared_ptr (*backend_factory) (AudioEngine&); boost::shared_ptr (*portengine_factory) (PortManager&); + + /** Return true if the underlying mechanism/API has been + * configured and does not need (re)configuration in order + * to be usable. Return false otherwise. + * + * Note that this may return true if (re)configuration is possible, + * but not required. + */ + bool (*already_configured)(); }; } // namespace -- cgit v1.2.3