diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-07-30 17:48:57 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-07-30 17:48:57 -0400 |
commit | 5e0c6af4062a2982fb90ad318973ab1d4beed2b9 (patch) | |
tree | 75f33513f650d716fa7b02d2c1289bb8caa6718c /libs/ardour/ardour/audioengine.h | |
parent | a9691abf3b0eaca5e78bea9e8d1cb7ea700e2e1e (diff) |
jack_audiobackend.cc finally compiles
Diffstat (limited to 'libs/ardour/ardour/audioengine.h')
-rw-r--r-- | libs/ardour/ardour/audioengine.h | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/libs/ardour/ardour/audioengine.h b/libs/ardour/ardour/audioengine.h index d7d9ca8224..4ac9221238 100644 --- a/libs/ardour/ardour/audioengine.h +++ b/libs/ardour/ardour/audioengine.h @@ -104,7 +104,8 @@ public: pframes_t samples_since_cycle_start (); bool get_sync_offset (pframes_t& offset) const; int create_process_thread (boost::function<void()> func, pthread_t*, size_t stacksize); - + bool is_realtime() const; + /* END BACKEND PROXY API */ bool freewheeling() const { return _freewheeling; } @@ -180,13 +181,21 @@ public: static void destroy(); void died (); - /* The backend will cause this at the appropriate time(s) + /* The backend will cause these at the appropriate time(s) */ - int process_callback (pframes_t nframes); + int process_callback (pframes_t nframes); + int buffer_size_change (pframes_t nframes); + int sample_rate_change (pframes_t nframes); + void freewheel_callback (bool); + void timebase_callback (TransportState state, pframes_t nframes, framepos_t pos, int new_position); + int sync_callback (TransportState state, framepos_t position); + int port_registration_callback (); + void latency_callback (bool for_playback); + void halted_callback (const char* reason); + + /* sets up the process callback thread */ + static void thread_init_callback (void *); - int buffer_size_change (pframes_t nframes); - int sample_rate_change (pframes_t nframes); - private: AudioEngine (const std::string& client_name, const std::string& session_uuid); |