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
paul
ee7e785cf0
add port connect callback, add per-port update total latency, fix (?) compiles against alsa-midi on x86_64 and other platforms
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1046 0c269be4-1314-0410-8aa9-9f06e86f4224
18 years ago
paul
581f790f69
add -Z flag to cancel zombification on timeout
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1044 0c269be4-1314-0410-8aa9-9f06e86f4224
18 years ago
paul
8c6780038d
remove all CVS Id lines from source and headers
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1031 0c269be4-1314-0410-8aa9-9f06e86f4224
18 years ago
paul
4b1e5929f5
add new client registration callback (protocol and library version incremented)
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1030 0c269be4-1314-0410-8aa9-9f06e86f4224
18 years ago
paul
f31ca67009
name fix for hw monitoring function plus fix for RME "mixer" control (from nick mainsbridge
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@985 0c269be4-1314-0410-8aa9-9f06e86f4224
18 years ago
pbd
2aa634a8af
* JACK MIDI patch from Ian Esten
* COMPLEX_MMAP patch for ALSA driver from Frank van der Pol
* BIG_ENDIAN patch by A. Steinmetz with followup patch by M. Habets
for ALSA backend (allows JACK to run on devices like M-Audio
Audiophile USB that only support big endian sample formats),
modified and fixed by me
* remove unused argument from jack_shmalloc to ease x86_64 errors
* fixes to printf formatting and on x86_64
* fix argument signedness warnings from gcc4
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@945 0c269be4-1314-0410-8aa9-9f06e86f4224
19 years ago
joq
7eede4ce7b
clean up OSX compile warnings
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@854 0c269be4-1314-0410-8aa9-9f06e86f4224
20 years ago
joq
5246f2a104
[0.99.39] multiserver POSIX shm fixes
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@852 0c269be4-1314-0410-8aa9-9f06e86f4224
20 years ago
joq
570910460f
cleaner protocol version check
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@848 0c269be4-1314-0410-8aa9-9f06e86f4224
20 years ago
joq
56dfc08414
[0.99.37] better jack_client_open() error checking
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@847 0c269be4-1314-0410-8aa9-9f06e86f4224
20 years ago
pbd
69e6676570
new DLL-based frame timer implementation; use shutdown(2)
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@846 0c269be4-1314-0410-8aa9-9f06e86f4224
20 years ago
joq
c0c46050db
[0.99.29] improve _open() and _load() error handling; minor cleanup
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@834 0c269be4-1314-0410-8aa9-9f06e86f4224
20 years ago
joq
47a9c01a68
[0.99.27] Simon's graph sorting patches
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@831 0c269be4-1314-0410-8aa9-9f06e86f4224
20 years ago
joq
f28ddbdc5b
[0.99.19] add new realtime-safe messagebuffer interface
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@815 0c269be4-1314-0410-8aa9-9f06e86f4224
20 years ago
trutkin
319be8dbce
Header fix for macosx.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@808 0c269be4-1314-0410-8aa9-9f06e86f4224
20 years ago
joq
31967c0c02
[0.99.15] preliminary multiple server support
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@807 0c269be4-1314-0410-8aa9-9f06e86f4224
20 years ago
joq
6dcf31179c
[0.99.14] jack_client_open() part 2
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@806 0c269be4-1314-0410-8aa9-9f06e86f4224
20 years ago