Commit Graph

63 Commits

Author SHA1 Message Date
falkTX c74385603c Cleanup metadata on server close 2019-09-25 03:06:49 +01:00
Filipe Coelho 59550f67ee
Fix client UUID gen, and some warnings (#440)
* Fix generation of client uuid

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

* Remove all client properties when removed; Cleanup a few things

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

* Make all uuid function arguments use jack_uuid_t type; Fix warnings

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

* Rework uuids to never be int, more cleanup

Signed-off-by: falkTX <falktx@falktx.com>
2019-03-18 08:33:50 +01:00
Rui Nuno Capela fed6f1e66d [metadata] Metadata properties implementation. (#383)
* [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.
2018-10-10 16:06:14 +02:00
Kjetil Matheussen ccedff2f35 JackDebugClient: Keep client->fSynchroTable. Prevents crash in jack_client_wait, plus that it seems to be the correct thing to do. 2017-07-15 13:21:17 +02:00
Stephane Letz 02f74a659a String management fix. 2016-01-01 20:40:22 +01:00
Stephane Letz 3959a27499 Cleanup RT setup code in JackClient. 2013-05-09 13:24:37 +02:00
Stephane Letz a4e319b753 Correctly pass code parameter in InfoShutdown callback. 2013-04-22 19:09:23 +02:00
Stephane Letz 756027b040 Constant naming cleanup. 2013-02-27 10:09:22 +01:00
Stephane Letz e32b0cd318 Improve server shutdown and stop. 2013-01-25 13:51:56 +01:00
sletz f5fd13a2ca Naming of synchro primitive on Windows.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4741 0c269be4-1314-0410-8aa9-9f06e86f4224
2012-01-27 16:53:05 +00:00
sletz 9f4df15abb Factorize code the server/client request.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4684 0c269be4-1314-0410-8aa9-9f06e86f4224
2012-01-11 12:51:53 +00:00
sletz 7173037afc Fix the types of a few function parameters.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4546 0c269be4-1314-0410-8aa9-9f06e86f4224
2011-09-28 20:35:33 +00:00
Stephane Letz 299bc1bfe9 Cleanup. 2011-07-22 11:15:13 +02:00
sletz 8706763332 64 bits compilation on Windows.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4276 0c269be4-1314-0410-8aa9-9f06e86f4224
2011-04-06 08:22:57 +00:00
sletz acb9fe26b9 New internal JackSession.h file (for 64 bits compilation on Windows).
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4274 0c269be4-1314-0410-8aa9-9f06e86f4224
2011-04-05 15:35:16 +00:00
sletz 1ec2775bb4 Correct JackEngine::NotifyGraphReorder, update JackDebugClient with latest API.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4192 0c269be4-1314-0410-8aa9-9f06e86f4224
2011-03-15 11:14:04 +00:00
sletz 84879fe890 Correct visibility warnings.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4191 0c269be4-1314-0410-8aa9-9f06e86f4224
2011-03-14 13:57:16 +00:00
sletz 2511bd8af2 Call buffer size callback in activate (actually this is done on client side in the RT thread Init method).
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4164 0c269be4-1314-0410-8aa9-9f06e86f4224
2011-03-09 14:26:35 +00:00
sletz 5845be1374 jack_client_has_session_callback implementation.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4158 0c269be4-1314-0410-8aa9-9f06e86f4224
2011-03-09 11:40:37 +00:00
sletz 97c3a441f5 Use of latency range in all backends. ComputeTotalLatencies now a client/server call.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4151 0c269be4-1314-0410-8aa9-9f06e86f4224
2011-03-08 15:31:44 +00:00
sletz ae99359963 New latency API implementation (in progress).
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4150 0c269be4-1314-0410-8aa9-9f06e86f4224
2011-03-04 15:23:58 +00:00
sletz f3252b4cca Remove unneeded include.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4148 0c269be4-1314-0410-8aa9-9f06e86f4224
2011-03-04 12:45:19 +00:00
sletz ab32fa70f0 Compile on Windows again.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4145 0c269be4-1314-0410-8aa9-9f06e86f4224
2011-03-04 12:01:48 +00:00
sletz 92c5da66da Revert r4119 (RT notification in the server). JackAudioDriver::ProcessSync now skip backend write in case of graph process failure. Fix incorrect error codes in alsa/usx2y.c and alsa/JackAlsaDriver.cpp.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4143 0c269be4-1314-0410-8aa9-9f06e86f4224
2011-03-04 11:02:25 +00:00
Stéphane LETZ 9bf10e24ab Correct InternalClientLoad. 2010-05-07 10:09:42 +02:00
Torben Hohn 1a44ede470 fix tabs and convert em to spaces. 2010-05-05 12:31:26 +02:00
Torben Hohn 5e7a792f42 add uuid parameter to jack_client_open... 2010-05-05 12:31:26 +02:00
Torben Hohn 4e6b4f13bf uuid mapping and jack_reserve_client_name() 2010-05-05 12:31:25 +02:00
Torben Hohn b57d07ddd0 another step for jack-session... 2010-05-05 12:31:25 +02:00
Torben Hohn cffa5dfd8e add marshalling for jack_session_notify and session_event. not complete 2010-05-05 12:31:24 +02:00
sletz d09d8c3c82 Add a string parameter to server ==> client notification, add a new InfoShutdown callback.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3653 0c269be4-1314-0410-8aa9-9f06e86f4224
2009-10-20 11:07:58 +00:00
sletz 23f85f9830 Fix transport callback (timebase master, sync) issue when used after jack_activate (RT thread was not running).
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3527 0c269be4-1314-0410-8aa9-9f06e86f4224
2009-05-06 09:16:58 +00:00
sletz 4be0936d3e Simplify JackClient RT code, jack_thread_wait API marked deprecated.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3482 0c269be4-1314-0410-8aa9-9f06e86f4224
2009-04-03 07:13:25 +00:00
sletz f2a25b89cd Cleanup global function export.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3469 0c269be4-1314-0410-8aa9-9f06e86f4224
2009-03-26 09:58:05 +00:00
sletz 171a3c4a0d Client and library global context cleanup in case of incorrect shutdown handling (that is applications not correctly closing client after server has shutdown).
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3207 0c269be4-1314-0410-8aa9-9f06e86f4224
2008-12-16 09:16:02 +00:00
sletz c29ab689bf Libjack shutdown handler does not deactivate (fActive = false) the client anymore, so that jack_deactivate correctly does the job later on.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3088 0c269be4-1314-0410-8aa9-9f06e86f4224
2008-11-19 12:09:39 +00:00
sletz e291f37568 Define a JackShutdownCallback type, various callback related cleanup.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2949 0c269be4-1314-0410-8aa9-9f06e86f4224
2008-09-29 14:22:17 +00:00
sletz 27b17399e7 Correct PortRegister prototype.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2935 0c269be4-1314-0410-8aa9-9f06e86f4224
2008-09-20 18:20:43 +00:00
sletz 3e01068967 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
2008-09-05 13:36:28 +00:00
sletz 1274ff1da2 Add new jack_set_port_rename_callback API, jack_port_set_name is now a server request that call port rename callbacks.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2857 0c269be4-1314-0410-8aa9-9f06e86f4224
2008-09-01 16:57:19 +00:00
sletz ce5d02b5d9 Correct JackClient::Close() to request server close only if server is running.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2759 0c269be4-1314-0410-8aa9-9f06e86f4224
2008-08-01 12:38:43 +00:00
sletz ade47bdc34 Remove transport_type.h file, move transport types in types.h file.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2702 0c269be4-1314-0410-8aa9-9f06e86f4224
2008-07-18 16:00:59 +00:00
sletz 64928200f8 Cleanup in JackTransportEngine, move some code that was in JackClient class.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2700 0c269be4-1314-0410-8aa9-9f06e86f4224
2008-07-18 15:15:07 +00:00
sletz 5349284639 Netioadapter now adapts for buffer size and sample rate changes.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2639 0c269be4-1314-0410-8aa9-9f06e86f4224
2008-07-04 07:34:56 +00:00
sletz 215dfdd97a Tim Blechmann patch to remove unnecessary virtual methods : choice of the appropriate platform version is now done at compilation time.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2429 0c269be4-1314-0410-8aa9-9f06e86f4224
2008-06-03 08:48:09 +00:00
sletz b047c2672d All library side files become LGPL
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2127 0c269be4-1314-0410-8aa9-9f06e86f4224
2008-04-06 12:25:50 +00:00
sletz 85fc26ec4b Cleanup
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2096 0c269be4-1314-0410-8aa9-9f06e86f4224
2008-03-28 12:08:04 +00:00
sletz 4c5d14403f Remove uneeded jack_port_connect API.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1928 0c269be4-1314-0410-8aa9-9f06e86f4224
2008-03-10 14:15:24 +00:00
sletz ecb8da58c7 Beautifull code
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1909 0c269be4-1314-0410-8aa9-9f06e86f4224
2008-03-05 16:39:51 +00:00
sletz 078444c717 tw1.c example added (new thread model).
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1902 0c269be4-1314-0410-8aa9-9f06e86f4224
2008-03-04 14:38:53 +00:00