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
torben
42d0bd99f3
[controlAPI] first implementation of jackctl_server_switch_master()
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4423 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
0cdc3916cd
fix broken jack_get_microseconds in drivers when libjackserver is RTLD_LOCAL
for python loading libjackserver and using controlAPI.
drivers are linked to a second instance of libjackserver.so and the
global symbol _jack_get_microseconds showed up uninitialised.
by providing a function pointer to right instance in the engine struct,
we can fix this problem. since _jack_get_microseconds is a in systemdeps,
we need a generic way to get the right function pointer.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4421 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
a16492b689
fix Makefiles to reference libraries things depend on.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4420 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
601d54b816
[controlAPI] make things a bit more clear
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4419 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
6ff6597067
[controlAPI] remove annoying error message about no internal clients
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4418 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
b7ac46769f
[controlAPI] fix broken compilation sigmask_t -> sigset_t
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4417 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
7c9b90416c
[controlAPI] block signals in server_start...
this should probably go into the thread_create wrapper, but thats not
decided yet.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4416 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
eaf5277182
[controlAPI] first implementation of switch master
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4415 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
9a4ffcde0f
[controlAPI] switch server_start and server_stop code to jack1
also commented out quite a lot of jack_log occurences.
the server stop code needs a bit of debugging.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4412 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
6e6fc8dde9
[controlAPI] continue passing in the constraints
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4411 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
d3fd762366
[controlAPI] remove JackDriverInfo from struct jackctl_driver
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4410 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
1a0eb6c832
[controlAPI] add missing serverparameters for jack1
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4409 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
cd53c6bad4
[controlAPI] temporaily move jack_cleanup_files into controlapi.c
this function should probably go into engine.c
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4408 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
a84b9928ba
[controlAPI] turn on the constraint stuff again
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4407 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
bbf739d788
[controlAPI] add the driver scan code from jackd.c to controlapi.c
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4405 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
f96f9306b1
[controlAPI] first iteration, make controlapi.c compilable
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4404 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
4245b4abbc
[controlAPI] initital commit of files from jack2. (c++ doesnt compile)
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4403 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
fe66547ea2
enable proper removal of slave drivers which fail to start
some comments fixed up.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4401 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
c3145813a1
[jackd] add support for slave drivers into jackd executable
cant pass parameters to slave drivers yet.
this is similar to jack2 for now.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4399 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
d3a0ec4cad
[core] add basic support for slave drivers to engine
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4398 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
1247bedf23
[core] call driver->write even when process cycle failed
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4325 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
paul
768ac5ffb7
provide more info when a duplicate port name is registered
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4217 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
1049dff52d
[engine] fix a few warnings.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4110 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
1ffe16c7e1
[latency api] initialize latency ranges to all zero upon port creation
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4102 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
torben
a86f3bcf16
[latency api] also do a new latency computation in RecomputeTotalLatencies
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4101 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
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
15 years ago
paul
23ef50a671
update man page to reflect -S option
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4086 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
paul
015fbf3ff7
add no-op support for jack2's -S option
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4085 0c269be4-1314-0410-8aa9-9f06e86f4224
15 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
15 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
15 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
15 years ago