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
70adc7d48a
[controlAPI] add libjack* linkage to net, oss and firewire driver
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4427 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
19dc6322ae
[python] add jackctl.py temporarily
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4424 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
ceb4d05f8b
[controlAPI] dont include jack/systemdeps.h which doesnt exist in jack1
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4414 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
4fc97b0b87
[controlAPI] add server_control.c example
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4413 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
7db4be8055
[controlAPI] adjust parameter definitions in oss driver for changed struct
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4406 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
4553d465bf
[controlAPI] add constraints to driver interface
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4402 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
71afbc6f28
[alsa-midi] add basic alsa-seq midi slave driver
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4400 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
paul
043b3924c3
if an ALSA device cannot be opened because its busy, try to use lsof(1) to determine which processes have the device open, and show that list to the user. Heuristic, because we don't know which /dev files map to a given ALSA device name, so test them all
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4357 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
paul
815fabe8a8
fix help/usage message for jack_samplerate (c/o adi)
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4326 0c269be4-1314-0410-8aa9-9f06e86f4224
15 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
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
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
paul
b5e0fa5aa5
various doxygen changes from raboof & gabredd via trac #153
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4216 0c269be4-1314-0410-8aa9-9f06e86f4224
15 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
15 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
15 years ago
torben
51310fc126
[alsa] fix whitespace from previous commits.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4196 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
torben
ed63256c9e
[alsa] initialise driver->read_via_copy also for cap PCM_FORMAT_FLOAT_LE
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4195 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
torben
5d954da0a6
[alsa] remove useless copy function.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4194 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
torben
b1d74e2364
[alsa] fix initialisation of io functions for capture only mode
this is a quick fix for the problem reported by Felix Pfeifer.
whitespace cleanup and more thorough fixes of this code follow.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4193 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
paul
f8c1e777a3
updated comments for session.h from drobilla - no functional changes at all. docs have been updated at jackaudio.org
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4142 0c269be4-1314-0410-8aa9-9f06e86f4224
15 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
15 years ago
paul
8cd558d469
rename jdelay to jack_iodelay as per fons' request
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4139 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
paul
d89d379f8f
add man page for jack_iodelay
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4138 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
paul
c4baec6695
tweak weak linkage comments and fix typo
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4137 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
torben
a3424a6664
[alsa_out] squelch diff to alsa_in by moving the quit variable around.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4136 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago