Paul Davis
f25c2bff37
update jackd man page description of -M and default MIDI buffer size
12 years ago
Paul Davis
04df09b6f4
update jackd man page description of -M and default MIDI 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
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.
12 years ago
Paul Davis
5b169c1050
if started as a temporary server, count only external clients when deciding whether to keep running
12 years ago
Paul Davis
16193a3952
oh, the varieties of the *nix command line
12 years ago
Paul Davis
8f2ad9facc
add hackish command line parsing so that old use of -X seq (e.g. by qjackctl) has the desired effect
12 years ago
Paul Davis
71719fcebe
extra debugging/info for slave drivers
12 years ago
Paul Davis
a6fc200ac0
update jackd man page for -I option
12 years ago
Paul Davis
7cb56b9eb3
support more complex argument style to -I to permit client names and arguments
12 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
12 years ago
Paul Davis
efe4ddca32
do not attempt to unload anything except an internal client
12 years ago
Paul Davis
fd35b8dfe5
enforce requirement for exact name use when loading an internal client
12 years ago
Paul Davis
f8b9da51d9
allow jack_get_uuid_for_client_name() to function for "system" as a client name
12 years ago
Paul Davis
a1aeb6d7d2
wrap UUID generation
12 years ago
Paul Davis
808a482534
moved alsa midi internal client into tools
12 years ago
Paul Davis
5f28bf5450
use -I rather than -L to load internal clients from the command line, to be consistent with jack2
12 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
12 years ago
Paul Davis
a6f8f337b4
add -L option to command line to allow loading internal clients (e.g. upcoming ALSA MIDI intclient)
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
3057fcf157
add property change notifications
12 years ago
Paul Davis
dee55cbc07
set up property change notification structures and calls
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
6d94a80c43
fix display of new client UUID in verbose mode, and add errno if initial client read(2) fails
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
6e4d80815b
remove watchdog thread from engine/jackd, since Linux no longer allows SCHED_{FIFO,RR} tasks to take over the cpu unless the user misconfigures a very obscure part of their system configuration
12 years ago
Paul Davis
af82416a8b
patch from Pawel X to implement jack_get_uuid_for_client_name()
13 years ago
Paul Davis
547398c217
fix from ticket #294 to cover failed malloc caused by limits.conf being changed while jackd runs
13 years ago
Paul Davis
114d8172d6
handle latency callbacks before graph reorder callbacks, as per a recent (correct) change in jack2
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
905372e4b7
use max (JACK_CLIENT_EVENT_TIMEOUT,command-line-client-timeout) for poll on event handling when in non-RT mode; tidy up error messages when something goes wrong with 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
d094819df4
#include changes to reflect separation of public and private headers
14 years ago
paul
635a285c70
check for engine->driver before delivering latency events to its internal client
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4708 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
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
torben
070903509d
[core] fix error path for driver removal.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4447 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
440206ca32
[controlapi] fix parameter_ptr->id not being set
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4442 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
45d2015076
[controlapi] properly setup the parameter ids
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4440 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
70fcaaeed2
[controlapi] make unsupported functions return false.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4438 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
0292f85d24
[engine] make -C optarg a time, so that it doesnt depend on period_size
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4437 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
1c7b9bb52c
[controlAPI] add new parameter timeout threshold. also include clientengine
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4436 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
06df2a35c9
[man] add -C option to manpage
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4434 0c269be4-1314-0410-8aa9-9f06e86f4224
14 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
51db45b559
[controlAPI] a bit of cosmetics (i failed to hold codingstyle)
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4426 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
93e9a29274
[controlAPI] factor out jack_stop_watchdog, and use it during switch_master
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4425 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago