diff options
author | Robin Gareus <robin@gareus.org> | 2018-10-11 01:36:10 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2018-10-11 15:29:40 +0200 |
commit | 94e6164bc37abb977db082dd655adb096fc31989 (patch) | |
tree | 0bf9ac50fc93405328233bccad9d3db407b37160 /libs/ardour/ardour/audioengine.h | |
parent | 5c47ce32ec9096ba84c1302c8bee6c47b996f142 (diff) |
Add API to query backend realtime thread priority
Diffstat (limited to 'libs/ardour/ardour/audioengine.h')
-rw-r--r-- | libs/ardour/ardour/audioengine.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libs/ardour/ardour/audioengine.h b/libs/ardour/ardour/audioengine.h index 6e7cdf7496..4548ad7391 100644 --- a/libs/ardour/ardour/audioengine.h +++ b/libs/ardour/ardour/audioengine.h @@ -106,6 +106,17 @@ class LIBARDOUR_API AudioEngine : public PortManager, public SessionHandlePtr bool in_process_thread (); uint32_t process_thread_count (); + /* internal backends + * -20 : main thread + * -21 : additional I/O threads e.g. MIDI + * -22 : client/process threads + * + * search for + * - pbd_realtime_pthread_create + * - pbd_set_thread_priority + */ + virtual int client_real_time_priority () { return -22; } + int backend_reset_requested(); void request_backend_reset(); void request_device_list_update(); |