Paul Davis
f44bb73f23
new jack_get_cycle_times() implementation from Fons Adriennsen, and improvements to DLL implementation, particularly post-freewheel, also by Fons
13 years ago
Paul Davis
e97b82bc2d
remove timestamps code - not used for years, and the kernel provides better instrumentation these days
13 years ago
Paul Davis
d094819df4
#include changes to reflect separation of public and private headers
13 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
13 years ago
paul
1d45b5064b
compilation fixes for client.c
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4768 0c269be4-1314-0410-8aa9-9f06e86f4224
13 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
13 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
13 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
13 years ago
paul
ec62cf6f9a
remove SSE messages
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4543 0c269be4-1314-0410-8aa9-9f06e86f4224
13 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
13 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
13 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
14 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
14 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
14 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
14 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
14 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
14 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
14 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
14 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
14 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
14 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
14 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
14 years ago
torben
8b7329c6a3
dont call jack_attach_port_segment() in jack_client_open_aux()
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4062 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
paul
27ea8647fa
add --enable-valgrind-clean and associated code to permit building a version of libjack that will not trigger valgrind messages. an alternative would be a nice suppression file, if anyone wants to create one (i don't)
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4056 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
paul
7a0d0310eb
documentation tweaks (OR->AND, and comments on MIDI event ordering)
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4052 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
52db871370
remove comment from the already removed stack scribble
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4025 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
torben
2691794f94
move stack touching into jack_thread_proxy
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3996 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
torben
20c58349f8
propely zero out the command terminator
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3991 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
torben
cf530808c9
add session notification infrastructure
squashed rebase.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3969 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
Torben Hohn
9ba49a1b6e
add future field to event struct, and JackSessionNeedTerminal
15 years ago
paul
8d03e26ceb
license changes : shm.c goes frm GPL to LGPL (agreed by JOQ via email); add license info to a couple of other files
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3960 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
Torben Hohn
f9545581f7
add jack_client_get_uuid() and fix stuff for multiclient
15 years ago
Torben Hohn
726a93311a
remove jack_rename_client
15 years ago
Torben Hohn
86ff334195
add jack_session_event_free() and dont free it in jack_session_reply()
15 years ago
Torben Hohn
992f3bf639
add flags to jack_session_event_t and session_command_t
15 years ago
Torben Hohn
bd579877d3
remove the arrays from the session_command_t add reserve_client_name
15 years ago
Torben Hohn
979648a389
remove the metadata API...
15 years ago
Torben Hohn
79b318cb7a
update implementation to new async interface
15 years ago
torben
bec1a45a67
buffer_resize: only reallocate portbuffers, if number of connections is > 1
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3892 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
torben
2f35cebfe3
remove the mixbuffer allocaton in jack_port_get_buffer and just bomb out.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3891 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
torben
eeb327aae2
allocate mix_buffer upon connection, not on demand in RT thread.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3890 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
paul
ee89259ef7
define jack_port_type_get_buffer_size() to abstract computation of buffer size for a given port type and frame count
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3889 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
torben
439e1fca82
take care of buffer_scale_factor < 0 in jack_port_get_buffer()
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3887 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
paul
b02124591e
make MIDI port buffer size variable with -M cmdline argument; reduce size of jack_midi_port_internal_event_t from 12 to 8 bytes
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3884 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
paul
cbfe31c02f
commit serious design flaw that left jackd in freewheeling mode if the client that initiated freewheeling leaves the graph (either deliberately, or via a crash)
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3877 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
paul
22637219ce
eliminate inadvertent use of client->graph_wait_fd (client->pollfd[WAIT].fd) on OS X - causes illegal write to memory
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3876 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
paul
b8c46c5cf0
ensure that client-side message buffer thread calls thread_init callback if/when it is set by the client
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3838 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago