summaryrefslogtreecommitdiff
path: root/libjack
Commit message (Collapse)AuthorAgeFilesLines
* Removes use of gloabl jack_tmpdir.Uladox2016-08-141-19/+27
| | | | | | | | | | | | Uses static local variable like how jack_user_dir does. jack_get_tmpdir() replaces jack_tmpdir for the most part except in jackd -l where it would cause an infinite loop, and instead DEFAULT_TMP_DIR is used, which is what it would happen anyway. Also in jack_user_dir the default value is used if jack_user_dir returns NULL from some error, but an error message is printed with jack_error(), this is the same as the old behavior, but I am not sure this is quite what should happen. Still, the exact same behavior as before is acheived except without the use of the jack_tmpdir global and the memory issues caused by calling jack_get_tmpdir().
* manually-updated version of Tim Real's fix for client-side port object ↵Paul Davis2016-03-021-8/+13
| | | | management
* uncrustification of jack source codePaul Davis2016-02-2319-2273/+2414
|
* Autotool fixesErik de Castro Lopo2016-02-161-18/+40
| | | | | | | | | * Fix usage of `AC_INIT`. * Extract JACK version numbers from `AC_INIT` version number. * Newer versions of automake insists on the `subdir-objects` option when using C files from outside the current directory. * Need to use generate `noinst_LTLIBRARIES` rather than just adding and out-of-dir C file to the `*_SOURCES`.
* Revert "Set driver port order metadata".Paul Davis2016-02-111-7/+2
| | | | | | | | | | | The "client" argument being passed to jack_set_property() is jack_client_internal_t*, not jack_client_t* as expected, which leads to a crash. Using client->private_client (which is a jack_client_t*) causes deadlock because do_request() is called recursively. The goal here is good, but it can't be accomplished in this way. This reverts commit 439e47da1a179f62ce9e6601851b4f90381da0de.
* Merge pull request #29 from ↵Paul Davis2016-02-111-0/+2
|\ | | | | | | | | ventosus/fix_garbage_keys_in_JackPropertyChangeCallback fix garbage keys in JackPropertyChangeCallback.
| * fix garbage keys in JackPropertyChangeCallback.Hanspeter Portner2015-11-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue ----- JackPropertyChangeCallback returns a carbage key when removing all keys of a given uuid, e.g. triggered by 'jack_remove_properties(...)'. Expected -------- JackPropertyChangeCallback should return a (NULL) key when removing all keys of a given uuid. Culprit ------- 'malloc' is called with key_size==0, which MAY NOT return a (NULL) pointer. Fix --- Do not call 'malloc' for key_size==0.
* | Set driver port order metadataDavid Robillard2016-02-111-2/+7
| | | | | | | | | | | | This allows clients to deterministically show ports in the correct order when there are more than 9 ports (where the lack of leading zeros breaks sorting by name).
* | Fix uninitialized values in jack_client_tDavid Robillard2016-02-111-2/+2
| |
* | Fix for -Wformat-securityfalkTX2016-02-111-2/+2
|/
* Merge pull request #20 from rncbc/masterPaul Davis2015-07-021-30/+33
|\ | | | | [metadata] fix unfreed DBT key/data tuples causing several mem-leaks.
| * [metadata] fix unfreed DBT key/data tuples causing several mem-leaks.rncbc2015-05-011-30/+33
| |
| * support [unescaped] double-quotes in jackdrcRobin Gareus2015-05-011-7/+23
| | | | | | | | | | allow autostart of jackd on OSX where device-names can contain spaces.
* | fix a couple of issues with port rename callback (duplicate structure ↵Paul Davis2015-07-022-5/+4
| | | | | | | | members, missing break statement)
* | add support for port rename callback.Paul Davis2015-07-023-1/+49
| |
* | support [unescaped] double-quotes in jackdrcRobin Gareus2015-01-141-7/+23
|/ | | | | allow autostart of jackd on OSX where device-names can contain spaces.
* Add memset to clear buffer to unparse uuid into.Hanspeter Portner2014-11-111-0/+2
| | | | | | | | - jack_remove_properties and jack_get_properties both search the metadata database for matching UUID string. - However, they both fail at finding any matching UUIDs ever. - The UUID string in the database are correctly created on a previously cleared buffer (e.g. memset to 0). - The temporaty UUID string in the search routines however are not created on a cleared buffer, the end of the buffer thus may contain anything. - As in the matching routine the complete UUID strings are compared (with size JACK_UUID_STRING_SIZE), there will never be a matching air, even if their valid part do match.
* remove inclusion of <uuid/uuid.h> since it is not actually used any morePaul Davis2014-05-271-1/+0
|
* add headers for waitpid(2)Paul Davis2014-04-171-0/+2
|
* replace use of fclose() on a descriptor returned by popen(2) (from Carl ↵Paul Davis2014-04-171-3/+3
| | | | Hetherington but manually applied)
* fix for double-fork still leaving zombies around (from Uli Franke ↵Paul Davis2014-03-141-1/+10
| | | | uli.franke@weiss.ch)
* Drop obsolete cycle counter option in libjackAdrian Knoth2014-03-141-2/+0
|
* Fix for passing pointer to jack_intclient_t.Peter Nelson2014-03-051-2/+2
|
* try to recognize integers that are NOT UUIDs when parsing themPaul Davis2014-02-121-0/+6
|
* revert change from floor (x+0.5) to rint() in fons' frames/time sync codePaul Davis2014-01-211-4/+4
|
* allow environment variable JACK_RC_FILE to override the startup file used ↵Paul Davis2014-01-211-2/+7
| | | | for autostart of the server
* switch to 2048 bytes for default MIDI buffer size, 8192 is a bit large to be ↵Paul Davis2013-12-151-1/+1
| | | | the default
* use a fixed 8192 byte buffer for MIDI ports, like jack2Paul Davis2013-12-151-1/+2
|
* increase default MIDI port buffer size to 8 times the audio buffer sizePaul Davis2013-12-131-1/+1
|
* change UUID implementation to use integers and serial counters; remove -L ↵Paul Davis2013-11-306-58/+92
| | | | option from jack_lsp because "total latency" is deprecated
* fix error in handling of -T (temporary server) caused by cast to wrong type ↵Paul Davis2013-11-271-1/+1
| | | | when checking client list (also added extra debugging/VERBOSE statements)
* basics for a hypothetical PortRename callbackPaul Davis2013-10-113-1/+7
| | | | | | | | | This cannot be implemented at present because jack_port_set_name() does not take a jack_client_t* as an argument, and thus no msg can be sent to the server regarding the name change. Jack2 accomplishes this by walking its static array of clients to find one that is in use and sends the msg using that one. This is not possible in Jack1 because we do not use static arrays of clients (or ports).
* force zero return for thread ID for non-external clients, since ↵Paul Davis2013-10-091-0/+5
| | | | internal/driver clients have no separate thread
* patch to release shm registry lock from Kristian AmliePaul Davis2013-10-061-2/+7
|
* add definitions of constants for a few (potential) well-known metadata key ↵Paul Davis2013-10-051-0/+7
| | | | values
* wrap UUID generationPaul Davis2013-10-031-0/+6
|
* add missing uuid.c filePaul Davis2013-10-031-0/+65
|
* add code to remove metadata for ports and clients when ports and clients are ↵Paul Davis2013-10-021-5/+35
| | | | deleted/cleaned up
* implement jack_get_all_properties() and cleanup a few other implementation ↵Paul Davis2013-10-011-13/+134
| | | | details
* differentiate between property changed/created in PropertyChange ↵Paul Davis2013-10-011-1/+8
| | | | notification (by testing for existence first)
* add property change notificationsPaul Davis2013-09-303-4/+65
|
* set up property change notification structures and callsPaul Davis2013-09-302-4/+14
|
* add jack_client_t* to metadata calls that need to contact the server to ↵Paul Davis2013-09-301-4/+5
| | | | initiate a property change callback
* update submodulesPaul Davis2013-09-302-1/+479
|
* miscellaneous fixes to prepare the way for usable metadataPaul Davis2013-09-303-3/+8
| | | | | * move port UUID initialization into engine so that it is actually shared across clients * export jack_server_dir() within libjack
* fix screw up caused by attempting to uuid_parse() a null string UUID in jack ↵Paul Davis2013-09-251-2/+4
| | | | client arguments
* first pass at working UUID-based clients and ports. many JACK clients work ↵Paul Davis2013-09-245-85/+95
| | | | correctly without recompilation
* add UUID to port typePaul Davis2013-09-241-0/+8
|
* patch from Pawel X to implement jack_get_uuid_for_client_name()Paul Davis2013-01-291-4/+20
|
* add a latency callback to the ALSA backend, and ensure that the backend's ↵Paul Davis2012-11-041-4/+5
| | | | latency callback, if it exists, is called after a buffer size change