Paul Davis
bb84f414b0
switch to 2048 bytes for default MIDI buffer size, 8192 is a bit large to be the default
12 years ago
Paul Davis
5c0f0cc705
use a fixed 8192 byte buffer for MIDI ports, like jack2
12 years ago
Paul Davis
554b524785
increase default MIDI port buffer size to 8 times the audio buffer size
12 years ago
Paul Davis
5e7ff0d687
change UUID implementation to use integers and serial counters; remove -L option from jack_lsp because "total latency" is deprecated
12 years ago
Paul Davis
91c57cb06c
fix error in handling of -T (temporary server) caused by cast to wrong type when checking client list (also added extra debugging/VERBOSE statements)
12 years ago
Paul Davis
94c819accf
basics for a hypothetical PortRename callback
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).
12 years ago
Paul Davis
4a7a2f334d
force zero return for thread ID for non-external clients, since internal/driver clients have no separate thread
12 years ago
Paul Davis
29785c4a25
patch to release shm registry lock from Kristian Amlie
12 years ago
Paul Davis
e27a3be395
add definitions of constants for a few (potential) well-known metadata key values
12 years ago
Paul Davis
a1aeb6d7d2
wrap UUID generation
12 years ago
Paul Davis
867ad58401
add missing uuid.c file
12 years ago
Paul Davis
70a24bceff
add code to remove metadata for ports and clients when ports and clients are deleted/cleaned up
12 years ago
Paul Davis
8614590588
implement jack_get_all_properties() and cleanup a few other implementation details
12 years ago
Paul Davis
04ce7d432a
differentiate between property changed/created in PropertyChange notification (by testing for existence first)
12 years ago
Paul Davis
3057fcf157
add property change notifications
12 years ago
Paul Davis
dee55cbc07
set up property change notification structures and calls
12 years ago
Paul Davis
0c5bd20930
add jack_client_t* to metadata calls that need to contact the server to initiate a property change callback
12 years ago
Paul Davis
b59ef460cc
update submodules
12 years ago
Paul Davis
5d360dd61e
miscellaneous fixes to prepare the way for usable metadata
* move port UUID initialization into engine so that it is actually shared across clients
* export jack_server_dir() within libjack
12 years ago
Paul Davis
88198692bf
fix screw up caused by attempting to uuid_parse() a null string UUID in jack client arguments
12 years ago
Paul Davis
a4580ec67d
first pass at working UUID-based clients and ports. many JACK clients work correctly without recompilation
12 years ago
Paul Davis
d9930eea6e
add UUID to port type
12 years ago
Paul Davis
af82416a8b
patch from Pawel X to implement jack_get_uuid_for_client_name()
13 years ago
Paul Davis
6ddbf81d14
add a latency callback to the ALSA backend, and ensure that the backend's latency callback, if it exists, is called after a buffer size change
13 years ago
Paul Davis
91d2d75832
add internal function jack_event_type_name() for prettier error messages concerning client event handling
13 years ago
Paul Davis
f44bb73f23
new jack_get_cycle_times() implementation from Fons Adriennsen, and improvements to DLL implementation, particularly post-freewheel, also by Fons
14 years ago
Paul Davis
e97b82bc2d
remove timestamps code - not used for years, and the kernel provides better instrumentation these days
14 years ago
Paul Davis
d094819df4
#include changes to reflect separation of public and private headers
14 years ago
paul
743b65b56f
redesign thread calls and so forth to actually get this stuff right on OS X (maybe) ... about to test on Linux
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4771 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
paul
1d45b5064b
compilation fixes for client.c
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4768 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
paul
4f01be557a
fairly drastic and deep cleanup of client thread code in an effort to fix inconsistent handling of the return value from a process() callback; actually deprecate jack_thread_wait() in the same way jack2 does
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4766 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
paul
4ea20bb7c4
default error callback no longer calls DEBUG, which was (a) silly and (b) breaks if _jack_get_microsseconds has not yet been set (e.g. for very early errors during startup)
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4763 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
paul
69bbf84e2e
fix the types of a few function parameters
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4544 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
paul
ec62cf6f9a
remove SSE messages
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4543 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
paul
f0d10e8cbe
compile fixes for OS X: remove double linkages to libjack + libjackserver, remove reference to client->control->nframes, add required compiler flags to get weak linkage to work
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4542 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
paul
69b3a9303b
remove SSE-related messages during startup unless run with -v
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4537 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
9872b17c1f
remove the dreaded client->control->nframes which is initialized too late
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4464 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
paul
a67243ec54
fix array overrun when jack_get_ports() returns the full set of all possible ports
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4448 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
paul
345f9dbed7
substantive rearrangement of OSX code so that async API (jack_cycle_wait/jack_cycle_signal) works on that platform. tested (provisionally) with the help of lincoln spiteri
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4312 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
torben
e79ff76305
[libjack] fix warning about volatile return type, by typedef
the previous commit was not completely correct, and resulted in a warning.
this makes the volatile keyword apply to the function pointer and not
the void return value.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4198 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
torben
54e2682819
[libjack] fix stack touching for RT threads created.
Based on patch by Sampo Savolainen.
But added a few more volatile, to make sure, that compiler doesnt optimize
the code away.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4197 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
paul
c22f9aecbb
return null if jack_port_get_buffer() is used before jack_activate()
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4140 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
torben
b280415830
[core] add jack_port_type_get_buffer_size()
this function is supposed to replace jack_get_buffer_size()
it also deals with midi port sizes, and will most likely work correctly
with later added port types too.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4130 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
paul
8cf46ee70b
check requested buffer size and limit to 1..16384 - avoids wierd behaviour caused by jack_bufsize foobar
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4128 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
torben
7df02e91d5
[core] pass client->engine->buffer_size to bufsize callback, not client->nframes
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4127 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
torben
19e89a7b87
add jack_client_has_session_callback() ...
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4123 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
torben
9ae6231e4f
[latency api] switch JackLatencyCallback to return void
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4109 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
torben
d80ebd924f
[latency api] also invoke latency callback for the driver client.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4108 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
torben
618beb9660
[latency api] add hack to jack_port_set_latency_range() to set old latency
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4105 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
torben
6a76e7ba49
[latency api] Add the new latency api.
This commit adds
jack_port_set_latency_range()
jack_port_get_latency_range()
jack_set_latency_callback()
It also extends jack_port_set_latency() to set the playback or capture
latency range of the port.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4098 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago