summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove FreeBoB backend (superseded by FFADO)Thomas Brand2019-01-229-1505/+3
| | | | | | | | | | | | | | The FreeBoB project was renamed to FFADO in 2007. All users should use the FFADO backend by now (2019). Backend name to be removed: "freebob" Alternative backend to use: "firewire" Please check the jackd manpage for details about "firewire" backend. This commit is part of legacy cleanup. closes issue #365.
* Check early if jack_midi_event_get() was successful.Thomas Brand2019-01-221-4/+5
|
* Ignore MIDI messages > MSG_BUFFER_SIZEThomas Brand2019-01-221-9/+12
|
* Increase buffer sizes in jack_midi_dump.Thomas Brand2019-01-221-2/+2
|
* NO-OP / trailing whitespace in *.h filesThomas Brand2019-01-2022-119/+119
|
* Update alsa_in/out manpageOlivier Humbert2019-01-171-1/+4
| | | Fixes #410
* oss_driver: Use float to S32 conversion if requestedTimo Wischer2019-01-173-6/+6
| | | | | | | | sample_move_d32u24_sS() converts into samples like 0x00****** but S32 format expects samples like 0x********. Therefore it will not use the full volume range when also using sample_move_d32u24_sS() for S32. Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
* alsa_in/out: Use float to S32 conversion if requestedTimo Wischer2019-01-172-4/+4
| | | | | | | | sample_move_d32u24_sS() converts into samples like 0x00****** but S32 format expects samples like 0x********. Therefore it will not use the full volume range when also using sample_move_d32u24_sS() for S32. Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
* alsa_driver: Use float to S32 conversion if requestedTimo Wischer2019-01-171-6/+27
| | | | | | | | sample_move_d32u24_sS() converts into samples like 0x00****** but S32 format expects samples like 0x********. Therefore it will not use the full volume range when also using sample_move_d32u24_sS() for S32. Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
* memops: Provide function for float to S32 conversionTimo Wischer2019-01-172-0/+12
| | | | | | | | Due to inlining and enabled optimization the compiler will not create machine instructions for the if-clauses and left shift for sample_move_dS_s32s() and sample_move_dS_s32(). Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
* memops: Align S24LE and S32LE to float conversionTimo Wischer2019-01-171-19/+46
| | | | | | | | Due to the optimization of the compiler this commit does not introduce any differences in the machine instructions. Tested with GCC version 6.2.0 on ARM64 and x86_64. Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
* memops: Provide function for S32 to float conversionTimo Wischer2019-01-172-0/+15
| | | | Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
* memops: Align float to S24LE and S32LE conversionTimo Wischer2019-01-171-19/+29
| | | | Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
* memops: Remove not used conversion macrosTimo Wischer2019-01-171-23/+0
| | | | Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
* memops: Use right-aligned S24LE to float conversionTimo Wischer2019-01-171-14/+19
| | | | | | | | | | ALSA expects right-aligned samples (0x00******) as mentioned in the source code for SND_PCM_FORMAT_S24_LE: Signed 24 bit Little Endian using low three bytes in 32-bit word See http://git.alsa-project.org/?p=alsa- lib.git;a=blob;f=include/pcm.h;h=5b0782315585de1d5ab82c9f2036b62c168f5a48;hb=HEAD#l140 Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
* memops: Use right-aligned float to S24LE conversionTimo Wischer2019-01-171-27/+24
| | | | | | | | | | ALSA expects right-aligned samples (0x00******) as mentioned in the source code for SND_PCM_FORMAT_S24_LE: Signed 24 bit Little Endian using low three bytes in 32-bit word See http://git.alsa-project.org/?p=alsa- lib.git;a=blob;f=include/pcm.h;h=5b0782315585de1d5ab82c9f2036b62c168f5a48;hb=HEAD#l140 Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
* arm64: Enable simd implementations (#398)twischer-adit2019-01-163-18/+22
| | | | | | GCC defines __ARM_NEON__ for asimd on ARMv7 and __ARM_NEON for simd on ARMv8. Therefore also check for __ARM_NEON. Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
* Include inttypes.h. (#408)78902019-01-161-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | When building with MXE, the macro expansion of PRIu64 fails: ../common/JackAPI.cpp: In function 'int jack_uuid_parse(const char*, jack_uuid_t*)': ../common/JackAPI.cpp:2119:24: error: expected ')' before 'PRIu64' if (sscanf (b, "%" PRIu64, u) == 1) { ^ ../common/JackAPI.cpp:2119:33: warning: spurious trailing '%' in format [-Wformat=] if (sscanf (b, "%" PRIu64, u) == 1) { ^ ../common/JackAPI.cpp:2119:33: warning: too many arguments for format [-Wformat-extra-args] ../common/JackAPI.cpp: In function 'void jack_uuid_unparse(jack_uuid_t, char*)': ../common/JackAPI.cpp:2134:45: error: expected ')' before 'PRIu64' snprintf (b, JACK_UUID_STRING_SIZE, "%" PRIu64, u); ^ ../common/JackAPI.cpp:2134:54: warning: spurious trailing '%' in format [-Wformat=] snprintf (b, JACK_UUID_STRING_SIZE, "%" PRIu64, u); ^ ../common/JackAPI.cpp:2134:54: warning: too many arguments for format [-Wformat-extra-args] This could be resolved by adding those two lines: #define __STDC_FORMAT_MACROS 1 #include <inttypes.h> References: https://stackoverflow.com/questions/14535556/why-doesnt-priu64-work-in-this-code https://stackoverflow.com/questions/8132399/how-to-printf-uint64-t-fails-with-spurious-trailing-in-format
* Fix indentationThomas Brand2019-01-162-5/+5
|
* Merge pull request #265 from fjapinteric/master78902019-01-162-4/+17
|\ | | | | alsa_in.c alsa_out.c (add option -S)
| * alsa_in.c alsa_out.c Francis Pinteric2017-04-272-4/+17
| | | | | | Added -S option and supporting code to permit attaching to a named jack2 server.
* | Merge pull request #406 from trebmuh/issue27878902019-01-151-2/+2
|\ \ | | | | | | Update alsa_in.0
| * | Update alsa_in.0Olivier Humbert2019-01-151-2/+2
|/ /
* | Fix OSX buildfalkTX2018-11-241-1/+1
| |
* | Specify a C++ standard to build with (C++11)falkTX2018-11-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | Without being specified, we have c++98 on gcc4 and c++11 on newer gccs. Eventually c++14 will be the default. Better to stick with a specific standard, thus being predictable, than trying to write the code in a way that builds with all of them. Signed-off-by: falkTX <falktx@gmail.com>
* | Revert a test change.falkTX2018-11-131-1/+1
| | | | | | | | | | | | Sorry! Signed-off-by: falkTX <falktx@gmail.com>
* | Cleanup some warningsfalkTX2018-11-1318-30/+46
| | | | | | | | Signed-off-by: falkTX <falktx@gmail.com>
* | Allow for effective UID of binaries (#286)Nova2018-11-133-3/+3
| |
* | Small update of changelog, to trigger travis buildfalkTX2018-11-131-1/+5
| | | | | | | | Signed-off-by: falkTX <falktx@gmail.com>
* | Travis integration with more platforms and compilers (#384)David Runge2018-11-133-27/+210
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * .ci/install-deps.sh: Install script for dependencies. * .travis.yml: Adding support for gcc 8,7,6,default and xcode 8.3,9.2,default. * .ci/install-deps.sh: Addin libsystemd-dev, opus and portaudio-dev. * .travis.yml: Removing install script covered package installations. Adding branch whitelist for all branches. * .ci/install-deps.sh: Adding executable bit. * ci/install-deps.sh: Moving to non-hidden directory to make execution less painful. * .travis.yml: Properly moving install script to hiddend directory. * .ci/install-deps.sh: Changing to trusty names for libraries and development packages. * .ci/install-deps.sh: Adding systemd, dbus and eigen3. * .ci/install-deps.sh: Adding libsystemd0,libopus-dev, libportaudio2. * .ci/install-deps.sh: Installing random systemd packages in the hopes they are the right ones... fuck yeah, ubuntu packaging hell. * .travis.yml: Setting build and install operations to verbose. * .ci/install-deps.sh: Install script for dependencies. * .travis.yml: Adding support for gcc 8,7,6,default and xcode 8.3,9.2,default. * .ci/install-deps.sh: Addin libsystemd-dev, opus and portaudio-dev. * .travis.yml: Removing install script covered package installations. Adding branch whitelist for all branches. * .ci/install-deps.sh: Adding executable bit. * ci/install-deps.sh: Moving to non-hidden directory to make execution less painful. * .travis.yml: Properly moving install script to hiddend directory. * .ci/install-deps.sh: Changing to trusty names for libraries and development packages. * .ci/install-deps.sh: Adding systemd, dbus and eigen3. * .ci/install-deps.sh: Adding libsystemd0,libopus-dev, libportaudio2. * .ci/install-deps.sh: Installing random systemd packages in the hopes they are the right ones... fuck yeah, ubuntu packaging hell. * .travis.yml: Setting build and install operations to verbose. * .ci/install-deps.sh: Adding berkeley db. * .travis.yml: Using default prefix on Linux (installing to /usr fails on travis - probably already installed). * .travis.yml: Adding back /usr prefix and adding sudo to install call. * README.rst: Adding initial version of a rst based README (only introduction and build information). * README.rst: Adding link to website in title. Fixing resource type to be image for build status image. Fixing sub bullet lists. * README.rst: Fixing bullet lists according to rst spec. * .travis.yml: Adding hacks for building with gcc on macOS. * .travis.yml: Adding missing envs and compiler types to macOS builds. * .ci/install-deps.sh: Fixing name of package portaudio19-dev. * .travis.yml: Adding comments to default gcc/clang versions. Unifying call to brew update with removal of custom c++ executable. * .ci/install-deps.sh: Adding install of gcc versions on macOS depending on CC variable. * .travis.yml: Removing installation of gcc from matrix setup (the local c++ executable has to be removed first). * .ci/install-deps.sh: Install the right gcc formula using brew. * .travis.yml: Also set CXX to gcc6, if CC is set to it. * .travis.yml: Removing disabling of options (they will be disabled automatically, if not available). * .travis.yml: Looking at what we're deleting in /usr/local/include/c++. * .travis.yml: Uninstalling oclint, if it's installed, as it conflicts with gcc. * .travis.yml: Test what removal of include-fixed stdio.h will do (otherwise there's a broken include of a _stdio.h). * .travis.yml: Creating one-liner for header removal, adding ; to configure. * .travis.yml: Fixing indent. Adding ; for one-liner. * .travis.yml: Moving to xcode9.2 image for testing, as the stdio.h issue seems xcode related (probably a bug with 9.4). Removing header removal. * .travis.yml: Adding -flax-vector-conversions to CXXFLAGS to fix vector conversion problems. * .travis.yml: Trying xcode8.3 with the build in the hopes that CoreAudio will behave more nicely. * .travis.yml: Moving to clang for all OSX based builds for now, as brew installed gcc proves to be very complicated. * .travis.yml: Removing support for Xcode 7.3. That stuff is too old.
* | [metadata-remove-property-fix] Fix #390 - Meta-data delete-all crashes the ↵Rui Nuno Capela2018-11-111-1/+2
| | | | | | | | client. (#391)
* | Update to waf 2.0.12Karl Linden2018-10-135-7/+17
| |
* | Fix build against old alsa versionsfalkTX2018-10-101-1/+2
| | | | | | | | Signed-off-by: falkTX <falktx@gmail.com>
* | [metadata] Metadata properties implementation. (#383)Rui Nuno Capela2018-10-1020-81/+1131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [metadata] Metadata properties implementation. * [metadata] Fixed for shared server metadata-base accessor; alsofixed coding/naming style. * [metadata] Fixed a tab for space. * [metadata] Use of Berkeley DB is now truly optional on configure time. * [metadata] Fixed tabs for spaces, again. * [metadata] Fixed for shared metadata-base initialization and external clients. * [metadata] Blind-fix for windows codebase. * [metadata] Metadata API moved into client-side library only. * [metadata] Fixed jack_port_uuid() stubbiness, now returning a proper UUID from port index. * [metadata] Uniform method names. * [metadata] Fixed PropertyChangeNotify through server async call.
* | Add jack_property tool from jack1falkTX2018-10-102-1/+338
| | | | | | | | Signed-off-by: falkTX <falktx@gmail.com>
* | Use JACK_LIB_EXPORT for inprocess examplefalkTX2018-10-101-0/+2
| | | | | | | | | | | | Fixes usage when jack is built with -fvisiblity=hidden Signed-off-by: falkTX <falktx@gmail.com>
* | define JACK_LIB_EXPORT, useful for internal clientsfalkTX2018-10-101-0/+9
| | | | | | | | Signed-off-by: falkTX <falktx@gmail.com>
* | ALSA: Always enable tstamp mode, other small fixesfalkTX2018-10-104-35/+30
| |
* | Mark jack_midi_reset_buffer as deprecatedfalkTX2018-10-091-1/+3
| |
* | Handle alloca properlyKarl Linden2018-10-078-3/+82
| | | | | | | | | | | | | | | | | | | | This adds missing includes for alloca. The man page of alloca(3) states that alloca.h should be #include'd to use alloca. Also work around missing alloca.h header on Windows by adding a compatibility module. Closes: #197
* | Implement a skeleton for compatibility modulesKarl Linden2018-10-073-0/+103
| | | | | | | | | | | | | | | | | | | | | | This commit introduces the skeleton needed to implement reusable operating system compatibility modules. This skeleton can then be extended with the actual compatibility modules that work around operating system specifics. For example this will be used to be able to compile files that use alloca on Windows. Also it can be used to implement replacements for functions that are missing on some systems.
* | Fix check for opusKarl Linden2018-10-061-1/+5
| | | | | | | | Closes: 176
* | Disable doxygen by defaultKarl Linden2018-10-061-1/+2
| |
* | Use header_name to check for readline and mmsystemKarl Linden2018-10-061-26/+6
| |
* | Update to waf 2.0.11Karl Linden2018-10-0653-4479/+5487
| | | | | | | | | | | | - Migrate pkg-config checks from atleast_version. - Check ppoll with a fragment, since the function_name argument has been removed.
* | Update autooptions and move to an own directoryKarl Linden2018-10-063-365/+481
| |
* | Beautify calls to add_auto_optionKarl Linden2018-10-061-13/+45
| | | | | | | | This should make the coming diffs easier to read.
* | Update to waf 1.8.22Karl Linden2018-10-0613-43/+112
| | | | | | | | | | This is the last version on the 1.8.x branch. The build system will be updated to the 1.9.x branch in a later commit.
* | Revert "Stupid attempt at updating waf"Karl Linden2018-10-06177-28077/+4455
| | | | | | | | | | | | | | | | This reverts commit cf3f8205c4509966f04e6b77dad7c002db16d9d8. It was a good initiative, but waf 2.0 introces backward incompatible changes that break the pkg-config checks. The config checks will be updated before migrating to waf 2.0.
* | Revert "Fix unused{,-but-set}-variable compiler warnings."Karl Linden2018-10-069-15/+44
| | | | | | | | | | | | | | | | | | | | | | This reverts commit dde9f29a8ef94c72f83a1e4881158dc537d24fce. The commit introduced the following compiler error: [100/255] Compiling posix/JackNetUnixSocket.cpp ../posix/JackNetUnixSocket.cpp: In member function 'int Jack::JackNetUnixSocket::NewSocket()': ../posix/JackNetUnixSocket.cpp:126:32: error: 'tos' was not declared in this scope socklen_t len = sizeof(tos);