aboutsummaryrefslogtreecommitdiffstats
path: root/src/jack_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/jack_impl.h')
-rw-r--r--src/jack_impl.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/jack_impl.h b/src/jack_impl.h
new file mode 100644
index 0000000..241ea85
--- /dev/null
+++ b/src/jack_impl.h
@@ -0,0 +1,31 @@
+// Copyright 2007-2024 David Robillard <d@drobilla.net>
+// SPDX-License-Identifier: ISC
+
+#ifndef JALV_JACK_IMPL_H
+#define JALV_JACK_IMPL_H
+
+#include "attributes.h"
+#include "process.h"
+#include "settings.h"
+#include "urids.h"
+
+#include <jack/types.h>
+#include <zix/sem.h>
+
+#include <stdbool.h>
+
+// Definition of Jack backend structure (private to implementation)
+JALV_BEGIN_DECLS
+
+struct JalvBackendImpl {
+ const JalvURIDs* urids; ///< Application vocabulary
+ JalvSettings* settings; ///< Run settings
+ JalvProcess* process; ///< Process thread state
+ ZixSem* done; ///< Shutdown semaphore
+ jack_client_t* client; ///< Jack client
+ bool is_internal_client; ///< Running inside jackd
+};
+
+JALV_END_DECLS
+
+#endif // JALV_JACK_IMPL_H