summaryrefslogtreecommitdiff
path: root/linux
Commit message (Collapse)AuthorAgeFilesLines
* Remove FreeBoB backend (superseded by FFADO)Thomas Brand2019-01-224-1449/+1
| | | | | | | | | | | | | | 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.
* 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>
* Revert a test change.falkTX2018-11-131-1/+1
| | | | | | Sorry! Signed-off-by: falkTX <falktx@gmail.com>
* Cleanup some warningsfalkTX2018-11-138-13/+21
| | | | Signed-off-by: falkTX <falktx@gmail.com>
* Fix build against old alsa versionsfalkTX2018-10-101-1/+2
| | | | Signed-off-by: falkTX <falktx@gmail.com>
* ALSA: Always enable tstamp mode, other small fixesfalkTX2018-10-104-35/+30
|
* Revert "Fix unused{,-but-set}-variable compiler warnings."Karl Linden2018-10-063-14/+19
| | | | | | | | | | | 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);
* Fix unused{,-but-set}-variable compiler warnings.Karl Linden2018-10-063-19/+14
|
* alsa driver: Provide option to enable time stamp modeTimo Wischer2018-07-274-6/+36
| | | | | | | | | | | for all devices. This is required for example for some adaptive sample rate converters which are executed on top of JACK. These SRCs are using the time stamp to calculate the buffer fill level between playback application and sound card. Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
* Check mmap() against MAP_FAILEDfalkTX2018-04-051-10/+16
| | | | Fixes #338
* More spelling fixes from Debian QAAdrian Knoth2018-02-251-2/+2
|
* Secure promiscuous mode for linux futexesCédric Schieli2017-03-182-3/+19
| | | | Adjusts the permissions of linux futexes when promiscuous mode is enabled.
* Merge pull request #219 from falkTX/masterAdrian Knoth2017-03-123-2/+330
|\ | | | | Use linux futex as JackSynchro
| * Use Linux futex as JackSynchrofalkTX2017-03-073-2/+330
| | | | | | | | Includes optimizations for internal clients, but not enabled yet.
* | Allow firewire device be selected via -dAdrian Knoth2017-01-241-0/+5
|/ | | | | Patch by Thomas Brand <tom@trellis.ch> and in accordance with jackd1 code base.
* Merge remote-tracking branch 'upstream/master'Stephane Letz2016-01-011-94/+0
|\
| * Refactor duplicated code into toplevel wscript.Karl Linden2015-12-131-128/+0
| |
| * Tidy up linux/wscript and make it ready for unification. See issue #164.Karl Linden2015-12-131-45/+85
| |
| * Check for ppoll() in toplevel wscript.Karl Linden2015-12-131-3/+0
| |
| * Remove unnecessary define HAVE_PPOLL.Karl Linden2015-12-131-1/+1
| | | | | | | | It is already defined by conf.define().
| * Remove unused HAVE_TIMERFD define.Karl Linden2015-12-131-2/+1
| |
| * Remove unused import.Karl Linden2015-12-131-2/+0
| |
* | String management fix.Stephane Letz2016-01-012-4/+4
|/
* Release audio devices when alsa_driver_new failsJacek Konieczny2015-12-061-2/+4
| | | | | | | Call JackAlsaDriver::Close() when alsa_driver_new() fails, to release devices acquired just before that call. Otherwise JackAlsaDriver::Open() will never succeed again, as re-acquiring the same device will fail with "A handler is already registered" DBus error.
* Fix CPU hogging of the midi_thread()escitalopram2015-10-271-1/+1
| | | The midi thread was always late after 2^31-1 Samples (~13.5h at 44.1kHz), because when there's no time limit, a uint64_t sample counter was compared against a signed 32bit INT_MAX to determine lateness. Now the CPU lockup will occur only after ~3 million years (at 192kHz), and because of the overflow it will presumably fix itself after a few milliseconds.
* Remove linux/cycles.hfalkTX2015-10-222-130/+0
| | | | | It's used for get_cycles() implementation, but it's never used. On certain architectures it gives a warning which is be confusing.
* Add JackProxyDriverCédric Schieli2015-04-271-0/+1
| | | | | | | | | | | | | | | | This driver is very similar to the JackNetDriver, but instead of connecting through the network, it connects to its upstream server through standard jack API. So it can only reach local servers which must be running as the same user or in promiscuous mode. The main use case is the multi-user, multi-session, shared workstation: - a classic server with hw driver is launched system-wide at boot time, in promiscuous mode, optionaly restricted to the audio group - in each user session, a jackdbus server is automatically started with JackProxyDriver as master driver, automatically connected to the system-wide one - optionaly, each user run PulseAudio with a pulse-jack bridge
* make build option --iio an auto optionKarl Lindén2015-04-101-5/+0
|
* make build option --freebob an auto optionKarl Lindén2015-04-101-3/+0
|
* make build option --firewire an auto optionKarl Lindén2015-04-101-3/+0
|
* make build option --alsa an auto optionKarl Lindén2015-04-101-3/+0
|
* increase size of array to fit initializer stringMarkus Seeber2014-12-151-1/+1
| | | | | - fixed compiler warning - fixed possible cropping of output
* including S24_LE/BE formats to linux alsa driverRicardo Crudo2014-10-271-2/+8
|
* Correct JackWinMMEDriver and JackALSARawMidiDriver creation.Stephane Letz2014-07-031-7/+15
|
* up-to-date jack2_android from OSRC(SM-G9008W_CHN).KimJeongYeon2014-06-192-4/+4
|
* Don't rely on CPU cycles to measure time.Adrian Knoth2014-03-141-63/+1
| | | | | | | | | We have a proper clocksource in the kernel, use this instead. This commit also fixes jackd on ARM boards with newer Linux kernels where /proc/cpuinfo has changed. Cross-ported from jackd1.
* alsa driver: remove midi-driver long descriptionNedko Arnaudov2014-03-101-5/+2
| | | | | | The parameter long description is used through the controlapi/dbus. Now that jack_control displays the constraints, the dither parameter long description servers no purpose.
* alsa driver: remove dither long descriptionNedko Arnaudov2014-03-101-5/+1
| | | | | | The parameter long description is used through the controlapi/dbus. Now that jack_control displays the constraints, the dither parameter long description servers no purpose.
* use descriptors for initializing enum constraintsNedko Arnaudov2014-03-101-114/+44
| | | | | | | | | | Descriptor initialization reduces risk of mismatch between array size and element initialization. It also improves code readability by separating the parameter descriptions separate from the code that composes the enum constraint structures. As a side effect this commit makes the self-connect-mode constraint allocated in dedicated memory chunks, like others enum constraints.
* fix alsa device name constraint struct allocationNedko Arnaudov2014-03-101-1/+1
| | | | | | | | | | The bug was present in the inital version of the code, commit ebba58c8eef5c2f217b86b293e15de7bb70d9faf There was no memory corruption because while jack_driver_param_value_enum_t is smaller by 72 bytes than jack_driver_param_constraint_desc_t, for enum constraints, the last 240 (on 64bit) bytes are not used.
* Removed a configure dependancy on SOX for IIO.Matt Flax2014-02-182-4/+0
| | | | Removed a spurious initOK label in the driver_initialize function.
* Added the codeBlocks key to the .gitignore file.Matt Flax2014-02-172-51/+52
| | | | | | | | Added my name and those who helped me to the Changelog file. Implemented various changes from a second code review by Stéphane; JackIIODriver::Attach is now JackIIODriver::Open. JackIIODriver::Detach is now JackIIODriver::Close. driver_initialize now uses 'goto' on error to reduce replication.
* [wscript] Enable IIO driverAdrian Knoth2014-02-141-0/+15
|
* [wscript] Cosmetics: Whitespace changesAdrian Knoth2014-02-141-4/+4
| | | | No functional change, only whitespace.
* Add IIO driverAdrian Knoth2014-02-142-0/+302
| | | | | | | | | This commit is based on Matt Flax's commits, just slightly polished and split into logical blocks. I did not review the code itself, since Stephane has already accepted Matt's sequence into the codebase, thus indicating he's fine with the changes.
* Revert "Added the beginnings of the IIO driver."Adrian Knoth2014-02-143-277/+5
| | | | This reverts commit 3087895772cf86610b127af963722259f8c6ffa0.
* Revert "systemdeps.h added a new defined case __ARM__ to clear the ↵Adrian Knoth2014-02-143-195/+160
| | | | | | POST_PACKED_STRUCTURE for ARM compilation." This reverts commit 23f5919c6249a12cf9e96fb7854235fccc2741b3.
* Revert "Removed a commented out line from wscript."Adrian Knoth2014-02-141-0/+1
| | | | This reverts commit d56717901aa534751de48102f457bf8b153af747.
* Revert "Added Stéphane review fixes :"Adrian Knoth2014-02-143-12/+3
| | | | This reverts commit f08a3f42343b0bb2c303aea8bc80f2bb306cb3c3.
* Merge branch 'master' of git://github.com/jackaudio/jack2Matt Flax2014-02-145-12/+57
|\