Paul Davis
be88fce800
remove inclusion of <uuid/uuid.h> since it is not actually used any more
11 years ago
Peter Nelson
87a8ffd7ef
Initialize private_client to prevent segfault on unload if client fails to initialize.
11 years ago
Paul Davis
86d01de66e
set latency callback cbset field to FALSE, fix segfault on (at least) ARM
11 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
11 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)
11 years ago
Paul Davis
829c189d82
fix arguably incorrect marking of client with errors after process cycle fails to return to server
When reading the byte from the wait file descriptor failed, jack would mark the client at the head of the external client chain
with an error. But the fault may not have been with that client. So now if the read error is EAGAIN ('no data available') do
not mark the client, but rely on other mechanisms to detect too-slow or dead clients.
Also tweak VERBOSE output a little in some related spots.
11 years ago
Paul Davis
5b169c1050
if started as a temporary server, count only external clients when deciding whether to keep running
11 years ago
Paul Davis
5ac4116188
fix up issues with (a) delivery of buffer size changes to internal clients (b) incorrect memset() of an event in latency handling
11 years ago
Paul Davis
efe4ddca32
do not attempt to unload anything except an internal client
11 years ago
Paul Davis
fd35b8dfe5
enforce requirement for exact name use when loading an internal client
11 years ago
Paul Davis
a1aeb6d7d2
wrap UUID generation
11 years ago
Paul Davis
753cfe0207
if an absolute path is given for an internal client load name, use it by just appending ".so"
we used to still look in ADDON_DIR, which might be "secure" but is a bit pointless and inconvenient
11 years ago
Paul Davis
70a24bceff
add code to remove metadata for ports and clients when ports and clients are deleted/cleaned up
11 years ago
Paul Davis
dee55cbc07
set up property change notification structures and calls
11 years ago
Paul Davis
6d94a80c43
fix display of new client UUID in verbose mode, and add errno if initial client read(2) fails
11 years ago
Paul Davis
a4580ec67d
first pass at working UUID-based clients and ports. many JACK clients work correctly without recompilation
11 years ago
Paul Davis
d094819df4
#include changes to reflect separation of public and private headers
13 years ago
torben
fe0759163e
[engine] rename continuous_stream to timeout_count and make threshold configurable
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4432 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
009ebad4af
[engine] make jack_check_clients return errs. when no err, read graph_wait
if jack_check_clients does not find a bad client, we need to read
the graph_wait_fd. otherwise we end up with too many execution tokens
floating around.
this commit also fixes the reset of the continuous stream
and makes the mercysleep use ms instead of ns.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4430 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
e726e6a746
[engine] in case of a continous stream of timeouts, we suspend the execution of the processing graph.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4429 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
b7eed771d1
[engine] relax the rules for zombification
we now give a client which didnt finish, a bit more time to complete
its process_cb. this should prevent most cases of unjustified client
zombification.
however we can get streams of xruns, because we can overload the
cpu now.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4428 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
da26d33e14
[engine] make jack_remove_client() visible
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4422 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
1049dff52d
[engine] fix a few warnings.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4110 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
81705fc63b
move jack_wake_server_thread to engine.c and make sure jack_signal_problems wakes it.
this fixes the server thread not waking up, when a client got SIGSTOP.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4087 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
ce41b670ab
port notifications are sent after portsegment attach etc...
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4066 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
c1f54ae504
use jack_client_internal_by_id() and dont use a loop.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4064 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
5c8d4ff380
deliver BufferSizeChange event during jack_activate
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4063 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
fdd5866b92
send AttachPortSegment events during jack_client_activate
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4061 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
paul
ca5bb796d3
fix a possible race/deadlock when jack is quitting and clients try to connect; mention jack_free() and not free() in port buffer docs; fix failure to execute clients using wait API; tweak session mgmt code so that the SM can pass directory names with or without a trailing '/'; unload/finish internal clients at a better time to stop crashes; add new and as-yet not used and definitely unfinished a2j internal clients for ALSA/MIDI bridge
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3981 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
002aba1eda
remove a crashed client, from the number of pending replies.
15 years ago
Torben Hohn
b774bdba77
make sure the uuid is unique. in case of collision an old uuid is deleted
15 years ago
Torben Hohn
79b318cb7a
update implementation to new async interface
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
Torben Hohn
b45133ca63
add client reservation...
15 years ago
Torben Hohn
9675d2ca85
delay port registration notify until activate
15 years ago
Torben Hohn
0cd91348c6
return of the startup strings.
15 years ago
Torben Hohn
78cbb6d5c2
initial commit of session notification infrastructure
15 years ago
paul
f5415c352c
fix potential crash/memory corruption if client exits before jack_client_open() returns
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3783 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
paul
d045111ae9
proper cleanup of "temporary" JACK server, by killing the wait thread with SIGUSR2
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3194 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
paul
f568569b9f
revert most of last change
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3192 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
paul
d52ba8851d
stop & detach driver when exiting due to -T/--temporary flag
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3191 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
paul
6ae5c7e60d
bump to 0.116.0; torben's re-pushed changes to make 32/64 compatibility really work, which change the size of a couple of protocol structures (hence the minor version change); use CFLAGS from environment; export JACK_CORE_CFLAGS to makefiles so that simd.c can use it and not JACK_CFLAGS which includes optimization flags; don't use MMX for math if we're using SSE; torben's patch to add better (ALSA memops-based) scaling for float->int16 conversion
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3143 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
paul
69039cae1c
fix export of pointers into JACK API headers, thus allowing a 64 bit JACK server to support 32 bit clients and vice versa (work done primarily by Torben, with a few cleanups from Paul)
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3000 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
paul
780722f196
compilation fixes for OS X; remove "no message buffer overruns" message
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@2466 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
paul
cedf146c03
fixes for detecting and cleaning up problematic clients
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@2459 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
paul
2cc32e191a
karsten's mutex -> rwlock patch; fix up driver attach ordering so that we still get "system" port names
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1188 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
paul
91c1333742
mark clients Finished after process has been called; remove clients that do not respond to events et al; use poll&read to wait for event responses, not just read; add -r to remove/replace JACK SHM registry at startup
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1177 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
sletz
a89837bbfc
Version 0.109.8 : new thread model
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1121 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
sletz
f0bfb84688
Version 0.109.4 : Nedko Arnaudov log patch
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1092 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago