Nedko Arnaudov
2b7a0b4849
LADI/jack2 variants
2022-09-06 20:48:07 +03: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
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