Commit Graph

4268 Commits

Author SHA1 Message Date
Nedko Arnaudov 00c12b1abf common/jack/control.h: Add jackctl_server_get_drivers_list() 2023-07-28 04:16:01 +03:00
Nedko Arnaudov 5aeddcbdc6 common/jack/control.h: Update with newer stuff 2023-07-26 05:51:21 +03:00
Nedko Arnaudov caed6672be Remove man pages of jack tools, example clients and jackd
These are not part of LADI/jack2 codebase anymore
2023-07-26 03:13:18 +03:00
Nedko Arnaudov f1566620b8 wscript: remove obsolete comment 2023-07-26 03:06:34 +03:00
Nedko Arnaudov 2274c5b228 Use WafToolchainFlags from submodule 2023-07-26 03:05:52 +03:00
Nedko Arnaudov 93b19769bf common/JackConstants.h: Use JACK_VERSION supplied by build system instead of VERSION 2023-07-26 02:56:04 +03:00
Nedko Arnaudov 477e64afce JackDriverLoader: Only .so suffixed drivers
Loading of drivers with non-standard extensions like mydriver.something
is not allowed anymore. Such drivers are ignored.
2023-07-26 02:48:32 +03:00
Nedko Arnaudov 2645af58ad wscript: stop checking for dbus/sigsegv.c dependencies
jackdbus related code was moved to jackdbus repo.
https://github.com/nedko/siginfo is replacement for dbus/sigsegv.c
2023-07-26 02:27:19 +03:00
Nedko Arnaudov d2e428e185 Split ADDON_DIR into JACK_DRIVER_DIR & JACK_INTERNAL_DIR and deprecate it.
It is better to have internal clients and drivers in different directories.

While prefixing the shared library names with "jack_" could be used for
distinguising between drivers and internal clients during load,
this was is not the case with current code.

Also, as neither drivers nor internal clients are supposed to be implicitly
loadable via ld.so as regular shared libraries, they now reside in

<PREFIX>/libexec/jack-driver/ and <PREFIX>/libexec/jack-internal/

The jack_ prefix for drivers is removed.

Windows specific code paths are not updated.
2023-07-26 02:13:35 +03:00
Nedko Arnaudov 93a613f066 common/JackDriverLoader.cpp: Make getenv() for internals consistent with that in common/JackTools.cpp 2023-07-26 01:55:21 +03:00
Nedko Arnaudov cbb808be41 Remove jackd+systemd scenario stuff
jackd is not supported in LADI project
2023-07-26 01:13:49 +03:00
Nedko Arnaudov 4452201908 Bind JACK API version to VERSION 2023-07-26 01:06:36 +03:00
Nedko Arnaudov a1732c40bb ladi-jack-2.23.0-rc2 2023-07-25 23:54:15 +03:00
Nedko Arnaudov dd5281423b ladi-jack-2.23.0-rc1 2023-07-25 23:52:31 +03:00
Nedko Arnaudov ae7b5d0dda control.h: Add jackctl_finish_signals()
Function to be used for cleaning,
after waiting on a signal set,
to undo the jackctl_setup_signals() and restore to previous state.
2023-07-25 23:23:11 +03:00
Nedko Arnaudov e81fc7038b jack/control.h: Adjust signal related functions to match those in JackControlAPI.h 2023-07-25 23:17:49 +03:00
Nedko Arnaudov d41863f6fd partial sync of jack/control.h and JackControlAPI.h
The copyright lines were synced but the still don't match reality,
see commens at 520dfa0ac5
2023-07-25 23:07:15 +03:00
Nedko Arnaudov 2e1be55bac Remove jackd sources
--dbus and --classic options are no more.

jackd is maintained at jackaudio.org

jackdbus is maintained in decicated LADI repo:

https://jackdbus.ladish.org/

See also commit 895472e250
2023-07-25 22:52:57 +03:00
Nedko Arnaudov d05b367286 Adjust libjack and libjackserver pkg-config files for LADI 2023-07-25 22:31:22 +03:00
Nedko Arnaudov 3da568d7f0 Bump libjack & libjackserver versions from 0.1.0 to 1.22.0 (LADI versions) 2023-07-25 22:29:54 +03:00
Nedko Arnaudov cf8d44743b Merge miartad/adit-control-api-backports into LADI/jack2/main
https://github.com/jackaudio/jack2/pull/948
2023-07-25 20:55:23 +03:00
Laxmi Devi 1335d72497 JackControlAPI: Jack threads to notify failure to jackd by posting an event
On failure, currently the jack thread exits without notifying the jackd.
So jackd is just waiting for the signals, unaware of the failure.
With this implementation, on error threads can post an event to jackd
notifying it to to exit.

(cherry picked from adit commit c430be1e337f52aba8312f7d29990e190cad204a)

Change-Id: Ib484bb1e126f6bff0db76d44e6e036f92f5d8806
Signed-off-by: Laxmi Devi <Laxmi.Devi@in.bosch.com>
Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
2023-07-24 21:33:03 +02:00
Laxmi Devi 58ab7eea9a JackControlAPI: Replacing sigwait with signalfd and poll
This would be required so that the polling concept can be used to wait
on signals as well as wait for events from the other threads.

(cherry picked from adit)

Change-Id: Ic7b8d4c816d601d4b5467ec9c2519f3c547ae59f
Signed-off-by: Laxmi Devi <Laxmi.Devi@in.bosch.com>
Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
2023-07-24 21:32:35 +02:00
Nedko Arnaudov 014e2000c5 linux/alsa/alsa_rawmidi.c: Adjust port aliases to match these of linux/alsarawmidi/* 2023-07-23 20:52:10 +03:00
Nedko Arnaudov 99f2890c1b Merge branch 'main' into stable
* Improved MIDI port aliases
   ALSA raw and seq MIDI ports are now created with aliases
   naming scheme matching the one of alsa_pcm. In particular,
   ALSA symbolic string ID is used instead of the less stable
   card index which can change from boot to boot.
 * Upgrade waf to 2.0.25
   xcode support was dropped.
 * Switch to WafToolchainFlags
   (downstream packager supplied flags are now handled correctly)
 * Extend the license of control API headers
   (JackControlAPI.h and control.h) to
   ( GPL-2.0-or-later OR LGPL-2.1-or-later OR MIT OR AFL-2.1 )
2023-07-19 11:05:26 +03:00
Nedko Arnaudov 25d398b580 linux/alsa/alsa_rawmidi.c: Add my copyright line 2023-07-19 00:57:48 +03:00
Nedko Arnaudov 1dcc489e04 linux/alsarawmidi: adjust alsarawmidi driver aliases 2023-07-19 00:56:07 +03:00
Nedko Arnaudov 7342f76922 linux/alsa/alsa_seqmidi.c: adjust alias prefix to alsa_midi:
This is partial cherry-pick of https://github.com/agraef/jack2
commit 71c9e64019a45c363cfedfec5f3ff9d5f2d9a1cc

Kudos to @agraef
2023-07-19 00:05:59 +03:00
Nedko Arnaudov c5b3bf222c linux/alsa/alsa_rawmidi.c: Adjust port aliases to match alsa_pcm naming scheme 2023-07-18 23:41:58 +03:00
Nedko Arnaudov 4a125dcfbb linux/alsa/alsa_rawmidi.c: Use string id in alias
This commit also renames the name member to alias, so to match reality.
The alias max size was extended to 4096 bytes (jack port registration limitations still aplly)
2023-07-18 23:17:20 +03:00
Filipe Coelho b93a1d8236
Cleanup and rework CI setup (#942)
* rework and cleanup CI setup

Signed-off-by: falkTX <falktx@falktx.com>

* continue CI cleanup

Signed-off-by: falkTX <falktx@falktx.com>

* Only use --mixed for win64

Signed-off-by: falkTX <falktx@falktx.com>

---------

Signed-off-by: falkTX <falktx@falktx.com>
2023-07-04 14:55:12 +02:00
falkTX 39521b4dc8
Do not require rosetta for generated macOS packages
Signed-off-by: falkTX <falktx@falktx.com>
2023-07-04 13:53:08 +02:00
Nedko Arnaudov d104193996 Merge branch 'controlapi' 2023-06-06 05:06:13 +03:00
nedko 2efc9ea972 Add device reservation callbacks
cherry picked from commit 3aa9b525c38b37a4f6248c57a1f0c78976d6050d:

Move dbus device reservation code to jackdbus

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3579 0c269be4-1314-0410-8aa9-9f06e86f4224
2023-06-06 04:32:57 +03:00
nedko 14469f1fae Doxygen documentation for new functions of control API
(cherry picked from commit 5d586603df)

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2996 0c269be4-1314-0410-8aa9-9f06e86f4224
2023-06-06 04:23:20 +03:00
nedko 4f30bf4c33 control.h: Add strict and fake constraints
cherry picked from commit bfaf8988f0c05b5f6a63bb3e9555114216e3b9b3:

Transform range bool into flags

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2992 0c269be4-1314-0410-8aa9-9f06e86f4224
2023-06-06 04:22:06 +03:00
nedko 368a5ee1e7 Expose jackctl_parameter_get_enum_constraint_description() in control API
(cherry picked from commit bd40d3225f)

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2986 0c269be4-1314-0410-8aa9-9f06e86f4224
2023-06-06 04:22:06 +03:00
nedko c53e46a085 Expose parameter constraints in control API
partial cherry pick from commit
2eeaa3b8a5
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2985 0c269be4-1314-0410-8aa9-9f06e86f4224
2023-06-06 04:10:28 +03:00
Nedko Arnaudov 3edeab30b8 control.h: Remove duplicated content 2023-06-06 04:08:09 +03:00
Nedko Arnaudov 722b692ca3
Relicense control.h
Implementators and/or users of the JACK Control API interface header
file are hereby granted right to use my work in control API header file
under one of the licenses (pick any, pick one):

 * GPL-2.0-or-later
 * LGPL-2.1-or-later
 * MIT
 * AFL-2.1
2023-06-06 03:45:46 +03:00
Nedko Arnaudov b396b4ab6d Merge commit control api header licensing extension
An extended license from Nedko Anaudov follows:

JACK control API (GPL or LGPL or MIT or AFL, pick the license that suits you)

Implementators or users of this interface header file are granted rights
under one of the licenses (pick any, pick one):

* GPL-2.0-or-later
* LGPL-2.1-or-later
* MIT
* AFL-2.1
2023-06-04 13:02:32 +03:00
Stephane Letz 520dfa0ac5 Relicence of JackControlAPI.h and control.h after discussion with Nedko Arnaudov. 2023-06-04 11:48:54 +02:00
Nedko Arnaudov cfdd52dcff wscript: switch to WafToolchainFlags (jack2) 2023-05-06 21:18:49 +03:00
Nedko Arnaudov 1c4b3639e0 wscript: switch to WafToolchainFlags
(cherry picked from commit 07085ef09576f2323784ad8c98fc363fb2befa9b)
2023-05-06 21:16:29 +03:00
Nedko Arnaudov a499582921 wscript: WafToolchainFlags
(cherry picked from commit 4263a920241c64632df486d6ce8b45966a51936d)
2023-05-06 21:16:16 +03:00
Nedko Arnaudov 972dd5e4e4 ci/github: Ubuntu 18.04 deprecated
https://github.blog/changelog/2022-08-09-github-actions-the-ubuntu-18-04-actions-runner-image-is-being-deprecated-and-will-be-removed-by-12-1-22/
(cherry picked from commit 69bb1654cd)
2023-04-22 11:30:31 +03:00
Nedko Arnaudov 69bb1654cd ci/github: Ubuntu 18.04 deprecated
https://github.blog/changelog/2022-08-09-github-actions-the-ubuntu-18-04-actions-runner-image-is-being-deprecated-and-will-be-removed-by-12-1-22/
2023-04-22 11:26:48 +03:00
Nedko Arnaudov 9aa5ead00f Update wscript for new waf (and drop xcode support) 2023-04-19 16:43:10 +03:00
Nedko Arnaudov 72cdf03f63 upgrade waf to 2.0.25 2023-04-19 16:36:12 +03:00
Nedko Arnaudov 0e984e37ae Bump version to 2.22.1 2023-02-18 10:17:21 +02:00