paul
b0a3ae949c
move jack capture into example clients (its not a finished tool) ; update embedded docs for some jack frame time functions, and use direct form in jack_last_frame_tim() ; use fprintf() and not jack_info when printing DEBUG_WAKEUP output
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3591 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
torben
4947cb3675
[core] still poll zombified client fd for HUP, so it will get removed.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3332 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
paul
22edbbbd7b
fix deadlock in jackd caused by graph/problem lock ordering
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3154 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
paul
a27a920f7c
add 2 new API functions: jack_client_real_time_priority() and jack_client_max_real_time_priority(); client threads now run *5* below the engine to allow for the possibility of other client-specific threads to have priorities above the normal client thread but below the server; bump to 0.115.0 to reflect this change
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3051 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
paul
f9107702cf
include post_process() call when freewheeling, to make transport state changes work; make internal client use system: not alsa_pcm: port names; do not munge backend MIDI port names into system: ; bump to 0.114.3
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3030 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
paul
5fd92f3f92
initial, potential fix for ringbuffer issues; fix some compiler warnings; clarify situation with const char** ports; member of request structure vis-a-vis 64/32 issues; stop autogen.sh from running ./configure by default (copying most other projects approach to reduce suprises); fix a couple of doxygen warnings
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3014 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
758adf2f17
minor fix for --enable-debug builds
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@2528 0c269be4-1314-0410-8aa9-9f06e86f4224
17 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
pieterpalmers
3b7d4ed948
implement a slightly more clean fix for the linux poll bug
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@2268 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
pieterpalmers
4939ec0317
printf field length fix
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@2267 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
pieterpalmers
5502124910
revert r1179 since it broke port alias stuff. Not needed anymore since we init the engine correctly since r1182.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1187 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
paul
52b8d53d41
fix up linux-poll-bug detection code, and change poll timeout for client event waiting to its own, distinct and significantly more realistic value (was 1+period msecs, is now 5 seconds)
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1186 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
paul
7060774546
make default jack_error() callback use DEBUG if DEBUG_ENABLED is set to correctly order debug/error output; handle "false wakeups" from process/graph poll(2) calls
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1185 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
paul
35f1cc8dbd
make clients call jack_messagebuffer_init() and jack_messagebuffer_exit()
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1184 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
pieterpalmers
0cdd073dc7
properly initialize engine (thx nedko)
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1182 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
pieterpalmers
9f619ce390
ensure proper cleanup if run_cycle fails
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1180 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
pieterpalmers
286a17d28f
fixes #49
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1179 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
7150ea2e78
Fix ticket 49
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1174 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
sletz
b542040b20
Jacob Meuser disconnect clients patch
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1171 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
sletz
9a9d6bca80
Jacob Meuser usleep() patch
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1165 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
sletz
576b85f010
Fix jack_notify_all_port_interested_clients to deliver *one* notification only...
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1133 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
sletz
019e9d20f6
Small correction after Jacob Meuser patches
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1127 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
sletz
95817bcb88
Four patches from Jacob Meuser for OpenBSD
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1126 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
sletz
48cc14dce4
Version 0.109.10 : fix portconnect notification issue
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1124 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
sletz
f912476faf
0.109.5: fix jack_set_port_connect_callback and counting connections bug
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1093 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
pieterpalmers
646dd40fba
Fix bad behavior when jack clients return a nonzero value in their process callback. (as reported by Rui and Fernando)
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1073 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
pieterpalmers
c15c245b3f
update the munge fix to not use static variables.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1072 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
pieterpalmers
8e2307460d
Commit of Aug 26, 2007 patch by Nedko Arnaudov.
Description:
In r1051 jack_engine_munge_backend_port_names() is being called during
startup. ALSA raw midi backend does port discovery in dynamic way and
thus midi ports appear after call to
jack_engine_munge_backend_port_names() and thus are not munged.
This patch contains:
* munge during port registration not during startup. It is done only
for internal clients. MIDI ports are midi_capture_N and
midi_playback_N in order to not interfere with audio port names.
* ALSA backend name is changed from "alsa_pcm" to "ALSA"
* engine->driver is initialized before call to driver attach() method
to make munge during port registration work during startup.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1071 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
paul
156b955fb4
fix up port connection notification design; extend evmon client to test it
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1047 0c269be4-1314-0410-8aa9-9f06e86f4224
18 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
dsbaikov
f37b7cc645
Merged MIDI branch into the trunk.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1035 0c269be4-1314-0410-8aa9-9f06e86f4224
18 years ago
paul
5e37ca65f7
first pass at implementing port aliases (2 port port, 1 set by jackd) plus standard backend port names using system:(playback|capture)_N
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1032 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
9121e36367
new thread_wait implementation to better match the specs; add JACK_PROMISCUOUS_SERVER handling (any user can connect to jackd, if umask of starting user was correct)
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1028 0c269be4-1314-0410-8aa9-9f06e86f4224
18 years ago
paul
d994308e56
remove port_(un)lock functions; add dmitry's new time APIs (jack_get_time, jack_frame_to_time, jack_time_to_frame); fix for enabling big-endian 16bit format discovery; depracate jack_client_new in the docs; patch for man page re: period size and power of two sizing
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1026 0c269be4-1314-0410-8aa9-9f06e86f4224
18 years ago
paul
18b1810ccc
fix for half-baked clock_gettime test in configure.ac; fix divide-by-zero error by no longer incrementing the frame counter in the event of an xrun/backend reset
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1011 0c269be4-1314-0410-8aa9-9f06e86f4224
18 years ago
joq
0c81e2ae8a
r6018@lithium: joq | 2007-01-14 22:51:23 -0600
check for null watchdog pointer on exit
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@1003 0c269be4-1314-0410-8aa9-9f06e86f4224
18 years ago
joq
01510126a9
r5333@lithium: joq | 2006-11-22 13:53:19 -0600
MIDI patches from Dmitry Baikov
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@998 0c269be4-1314-0410-8aa9-9f06e86f4224
18 years ago
joq
5972bbefb9
r3401@lithium: joq | 2006-06-26 10:09:02 -0500
[0.102.18] set uninitialized variable
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@979 0c269be4-1314-0410-8aa9-9f06e86f4224
19 years ago
joq
11184f247b
[0.102.17] limit timeout with -R to 5 sec
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@978 0c269be4-1314-0410-8aa9-9f06e86f4224
19 years ago
rncbc
298fdedacc
[0.102.13] good old fix about jack_watchdog killing the whole process group
instead of the nearest offending client, which is by far a much
more reasonable approach IMNSHO. Without this one, and while using
QjackCtl under KDE as it seems, jack_watchdog will most likely tear
the X server down, not just jackd and some of its clients as
originally intended.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@972 0c269be4-1314-0410-8aa9-9f06e86f4224
19 years ago
pbd
7e8cf3c23c
reworked config headers etc; rework clockfix patch; exit if -R requested but unobtainable
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@948 0c269be4-1314-0410-8aa9-9f06e86f4224
19 years ago
pbd
331aeacefb
no error if ALSA has no control device, jack_lsp shows port type, jack_server_dir fix
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@946 0c269be4-1314-0410-8aa9-9f06e86f4224
19 years ago