Commit Graph

19 Commits

Author SHA1 Message Date
Nedko Arnaudov 2b7a0b4849 LADI/jack2 variants 2022-09-06 20:48:07 +03:00
David Robillard 9130d18b8a Avoid clash with "register" keyword
This fixes a Doxygen warning where a (seemingly) non-existent parameter was
documented.
2022-08-22 14:37:43 -04:00
David Robillard fe0ab491b4 Clean up include guards
The previous style(s) used in most places here violates the C standard, and in
practice can trigger -Wreserved-id-macro in clang for client code.  So, switch
to a conventional style that doesn't trigger warnings (and is supported by
tools like clang-tidy).
2022-08-22 14:23:04 -04:00
David Robillard b601e3dc28 Use a consistent style for copyright headers
I chose the most common one here, although the indentation is a bit odd.
2022-08-22 14:19:40 -04:00
David Robillard 6ce9c002bf Delete trailing whitespace 2022-08-22 14:15:02 -04:00
David Runge 4e53c8f0a3 Rely on jack_native_thread_t definition from systemdeps.h
types.h:
Remove the definition of `jack_native_thread_t` as we will be relying on
the one from systemdeps.h.

{jack,thread}.h:
Include systemdeps.h for definition of `jack_native_thread_t`.
2021-12-12 22:23:48 +00:00
Matthias Geier ab27e5a59f Disable "register" variable name
Fixes https://github.com/jackaudio/jack1/issues/84
2020-11-27 23:29:42 +01:00
Matthew Persing aa2f1ee0a0 fix invalid description of jack_set_port_rename_callback and JackPortConnectCallback in doxygen comments
Change-Id: I5489729c1540647421258c66c2e74f321d50b777
2019-02-28 08:04:45 +01:00
Paul Davis e16940434b fix invalid description of @return for a void function in doxygen comments 2014-11-20 10:20:29 -05:00
Paul Davis 198407e956 remove unusued, leftover <uuid/uuid.h> include from types.h 2014-04-15 13:21:41 -04:00
Adrian Knoth 0b03e2b6a7 Fix bus error on ARM platforms
With the current code, packed structs lead to unaligned memory access,
thus causing SIGBUS on ARM.

Let's disable packing on ARM for now. Since it's only used for mixed
32/64bit jackd installations and we're not facing such a scenario on
ARM, there's little use to worry more atm.

(Commit message copied from jackd2's 2f7d512b, since it's the same
problem)
2014-01-27 22:42:19 +01:00
Adrian Knoth aea850adb3 Refactor POST_PACKED_STRUCTURE into types.h
All users of POST_PACKED_STRUCTURE also include <jack/types.h>, so to
avoid code duplication, we move the definition into a single place.

Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
2014-01-27 21:30:10 +01:00
Paul Davis b7f896437a change UUID implementation to use integers and serial counters 2013-11-30 13:05:47 -05:00
Paul Davis 0b467a387a add JackPortNameCallback type and port rename callback (to match changes above, and to come into line with jack2) 2013-10-12 09:48:39 -04:00
Paul Davis 2d8115ffac changes to internal client necessary (for now) for UUID changes 2013-09-24 22:13:32 -04:00
Paul Davis 5bf4c3697f add uuid type 2013-09-24 09:27:37 -04:00
Paul Davis 5798f8fcb7 Revert "add uuid type"
This reverts commit 5fa50673fc.

Need to branch within submodule before making changes.
2013-09-24 09:26:43 -04:00
Paul Davis 5fa50673fc add uuid type 2013-09-24 09:03:04 -04:00
Nedko Arnaudov 2476dca8c1 Import jack1 headers from svn r4772 2012-02-02 19:16:32 +02:00