diff options
author | David Robillard <d@drobilla.net> | 2024-11-18 17:53:09 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-11-24 19:10:58 -0500 |
commit | 54918d00fbad75374a11780e081a634ed94a3054 (patch) | |
tree | 523eb6b52f7bdbfd8b636095b6be9cd54f881d48 /src/jack_impl.h | |
parent | 5bbc72296d650cca75b0344efcae4658a14c9c62 (diff) | |
download | jalv-54918d00fbad75374a11780e081a634ed94a3054.tar.gz jalv-54918d00fbad75374a11780e081a634ed94a3054.tar.bz2 jalv-54918d00fbad75374a11780e081a634ed94a3054.zip |
Move Jack internal client to a separate compilation unit
Aside from keeping things tidy and independent, this removes this unused code
from the program builds, instead only including it in the Jack internal module.
Diffstat (limited to 'src/jack_impl.h')
-rw-r--r-- | src/jack_impl.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/jack_impl.h b/src/jack_impl.h new file mode 100644 index 0000000..0ecd3eb --- /dev/null +++ b/src/jack_impl.h @@ -0,0 +1,23 @@ +// 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 <jack/jack.h> + +#include <stdbool.h> + +// Definition of Jack backend structure (private to implementation) +JALV_BEGIN_DECLS + +struct JalvBackendImpl { + jack_client_t* client; ///< Jack client + bool is_internal_client; ///< Running inside jackd +}; + +JALV_END_DECLS + +#endif // JALV_JACK_IMPL_H |