Commit Graph

93 Commits

Author SHA1 Message Date
Nedko Arnaudov c2a66dfbc6 control.h: Relicense my work with multiple licenses 2023-06-02 18:56:52 +03:00
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 d339468451 Remove documentation for non-existent parameter 2022-08-22 14:36:43 -04:00
David Robillard 4371aabcd0 Fix invalid/unusual documentation comment syntax
Collectively, these trigger warnings in both Doxygen and
clang (-Wdocumentation-unknown-command).  Weirdly, @p in doxygen doesn't do
anything but print in a fixed-width font anyway, so just use Markdown quotes to
replace it which has the same effect (and reads nicer in the source).  The use
of @param like @p was invalid, so do the same to those.
2022-08-22 14:34:12 -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
Filipe Coelho 2bfa506971
update link to new-session-manager jackaudio page 2022-08-14 23:19:05 +01: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
falkTX 50fa022e27 Fix macOS x86_64 + arm64 interoperability 2021-12-12 22:23:48 +00:00
Davide Beatrici 4a9d1f7fbf systemdeps.h: define standard integer types correctly for MSVC
Fixes the following errors:

C:\vcpkg\installed\x64-windows-static-md\include\jack/systemdeps.h(73): error C2371: 'int8_t': redefinition; different basic types
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\include\stdint.h(14): note: see declaration of 'int8_t'
C:\vcpkg\installed\x64-windows-static-md\include\jack/systemdeps.h(77): error C2371: 'int32_t': redefinition; different basic types
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\include\stdint.h(16): note: see declaration of 'int32_t'
C:\vcpkg\installed\x64-windows-static-md\include\jack/systemdeps.h(78): error C2371: 'uint32_t': redefinition; different basic types
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\include\stdint.h(20): note: see declaration of 'uint32_t'
2021-12-12 22:23:48 +00:00
falkTX a4526089dd define JACK_LIB_EXPORT, useful for internal clients
Signed-off-by: falkTX <falktx@gmail.com>
2021-12-12 22:23:48 +00:00
Kjetil Matheussen 705424224c Windows: winsock2.h must be included before including windows.h 2021-12-12 22:23:48 +00:00
James Cowgill 21273bc5e2 Don't pack structures on MIPS where unaligned access is not allowed 2021-12-12 22:23:48 +00:00
Stephane Letz 637d69b29b Brad Harper patch for aarch64 - packed structure workaround. 2021-12-12 22:23:48 +00:00
Adrian Knoth ded5212510 Fix bus error on PPC and PowerPC
Forwarded from
<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=728710>
2021-12-12 22:23:48 +00:00
Kjetil Matheussen 119040eae1 Use _WIN32 instead of WIN32 in header files since WIN32 might not always be defined
For instance, if compiling with gcc and the option --stc=c++11, WIN32 is not defined.
See http://webcache.googleusercontent.com/search?q=cache:amvfgAUCdsgJ:sourceforge.net/p/mingw-w64/mailman/message/31850993/+&cd=4&hl=en&ct=clnk&gl=no
http://sourceforge.net/p/mingw-w64/mailman/message/31850993/
2021-12-12 22:23:48 +00:00
Adrian Knoth a10c9c3e6c Revert "systemdeps.h added a new defined case __ARM__ to clear the POST_PACKED_STRUCTURE for ARM compilation."
This reverts commit 3f8627bb8573177a59ad39b51642fd1a5f8b515f.
2021-12-12 22:23:48 +00:00
Matt Flax 9b24ad869e systemdeps.h added a new defined case __ARM__ to clear the POST_PACKED_STRUCTURE for ARM compilation.
Downgraded eigen3 and sox version requirements for building iio.
Switched to using IIOMMap to access the IIO subsystem.
Added the overloaded methods for JackIIODriver::Attach, JackIIODriver::Detach, JackIIODriver::Read and JackIIODriver::Write.
Rewrite the JackIIODriver.C code to work properly.
2021-12-12 22:23:48 +00:00
Adrian Knoth 8704387a18 [cosmetics] Sanitise systemdeps.h 2021-12-12 22:23:48 +00:00
Adrian Knoth 4103d173f9 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.
2021-12-12 22:23:48 +00:00
Stephane Letz 45d0a8e4fc POST_PACKED_STRUCTURE used for jack_latency_range_t type. 2021-12-12 22:23:48 +00:00
Stephane Letz 0108095550 Use POST_PACKED_STRUCTURE for jack_position_t. 2021-12-12 22:23:48 +00:00
sletz 9901c49a62 John Emmas second auto-launch server on Windows patch.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4578 0c269be4-1314-0410-8aa9-9f06e86f4224
2021-12-12 22:23:48 +00:00
sletz ba60d45aaa Synchronize public headers with JACK1. Update OSX project.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4144 0c269be4-1314-0410-8aa9-9f06e86f4224
2021-12-12 22:23:48 +00:00
sletz 21c0789996 Adrian Knoth hurd.patch, kfreebsd-fix.patch and alpha_ia64-sigsegv.patch from ticket 177.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4034 0c269be4-1314-0410-8aa9-9f06e86f4224
2021-12-12 22:23:48 +00:00
sletz 136ba3bb13 Another fix in systemdeps.h and types.h: jack_time_t now uniquely defined in types.h.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3334 0c269be4-1314-0410-8aa9-9f06e86f4224
2021-12-12 22:23:48 +00:00
sletz f70dd81b9d Cleanup systemdeps.h on Windows.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3331 0c269be4-1314-0410-8aa9-9f06e86f4224
2021-12-12 22:23:48 +00:00
sletz 1dea4f5411 Merge Solaris branch back on trunk.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3306 0c269be4-1314-0410-8aa9-9f06e86f4224
2021-12-12 22:23:48 +00:00
sletz 9c0d8ff164 Correct systemdeps.h public header licence.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3293 0c269be4-1314-0410-8aa9-9f06e86f4224
2021-12-12 22:23:48 +00:00
moret 58eee9171f Change jack/systemdeps.h include file (windows part) : recent MSVC compiler don't need vsnprintf() to be redefined anymore.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3055 0c269be4-1314-0410-8aa9-9f06e86f4224
2021-12-12 22:23:48 +00:00
sletz 6b43c40944 Change libraries name on Windows, update installer.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2902 0c269be4-1314-0410-8aa9-9f06e86f4224
2021-12-12 22:23:48 +00:00
sletz bf75279198 Correct headers for Windows compilation.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2881 0c269be4-1314-0410-8aa9-9f06e86f4224
2021-12-12 22:23:48 +00:00
sletz f5aec8a5f5 Merge Michael Voigt drops branch after reorganization step.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2880 0c269be4-1314-0410-8aa9-9f06e86f4224
2021-12-12 22:23:48 +00:00
falkTX b87166bbc7 Make doxygen happy 2021-07-14 21:12:04 +01:00
falkTX ce588b3af5 Add jack_position_t::tick_double, and flags around it 2021-07-14 21:00:43 +01:00
Matthias Geier ab27e5a59f Disable "register" variable name
Fixes https://github.com/jackaudio/jack1/issues/84
2020-11-27 23:29:42 +01:00
Maciej Bliziński 3e0ebfba31 Comment on using jack_port_get_latency_range().
jack_port_get_latency_range only returns meaningful values after ports get
connected, and that is signalled via the latency callback. Saying that it's
normally used in callbacks is too soft, the docs should make it clear that the
function is not very useful outside of the callback, because you don't know
whether the port is connected / whether the latency values changed.
2020-10-11 20:25:12 +02:00
falkTX d7d828df53
session.h: Fix typos and wording, mark as deprecated
Signed-off-by: falkTX <falktx@falktx.com>
2020-07-16 12:57:49 +01:00
falkTX 04d07f8847
Cleanup whitespace
Signed-off-by: falkTX <falktx@falktx.com>
2020-07-16 12:48:41 +01:00
falkTX eb7c221236
Fix freedesktop specification link
Signed-off-by: falkTX <falktx@falktx.com>
2019-12-10 18:45:16 +00:00
falkTX 15a179df5f
Update metadata.h from jack2
Signed-off-by: falkTX <falktx@falktx.com>
2019-10-06 20:30:22 +01:00
Matthias Geier 439eb19964 DOC: Update docs for jack_get_properties() 2019-04-26 23:17:30 +02:00
Matthias Geier e28ba5cc18 DOC: Update docs for jack_get_all_properties() 2019-04-26 23:17:30 +02: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
Daniel Hams 018f44fcdb Add some casts to let C++ happily compile jslist. 2019-02-28 08:03:41 +01:00
David Robillard eb67fa5ffc Fix invalid jack_set_port_rename_callback comment
Somebody forgot to change the copy/pasted comment...
2019-02-28 08:03:05 +01:00
falkTX 1541a11b20
Small fix on transport header comments
Signed-off-by: falkTX <falktx@falktx.com>
2019-02-28 07:53:18 +01:00
Stéphane Letz 07f1ecf1ce Merge pull request #6 from andrewrk/master
add missing `void` from jack_get_time prototype
2015-11-11 10:34:07 +01:00