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
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
14 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
14 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
14 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
14 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
14 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
14 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
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
d3b3fc2571
make jack_deliver_event not static, so we can access it from clientengine.c
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4060 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
28fba5f2fc
fix error checking, which puts jack into an undefined state in case of err.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3990 0c269be4-1314-0410-8aa9-9f06e86f4224
15 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
22822b9c15
dont consider clients without RT thread for process cycle.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3973 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
f9545581f7
add jack_client_get_uuid() and fix stuff for multiclient
15 years ago
Torben Hohn
0570cb61f9
remove the rename struct from jack_request_t
15 years ago
Torben Hohn
726a93311a
remove jack_rename_client
15 years ago
Torben Hohn
002aba1eda
remove a crashed client, from the number of pending replies.
15 years ago
Torben Hohn
74ba1e50be
forgot to reset session_reply_fd
15 years ago
Torben Hohn
992f3bf639
add flags to jack_session_event_t and session_command_t
15 years ago
Torben Hohn
5b90eb6cfc
create the per client session directories in jackd
15 years ago
Torben Hohn
979648a389
remove the metadata API...
15 years ago
Torben Hohn
79b318cb7a
update implementation to new async interface
15 years ago
torben
eeb327aae2
allocate mix_buffer upon connection, not on demand in RT thread.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3890 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
paul
ee89259ef7
define jack_port_type_get_buffer_size() to abstract computation of buffer size for a given port type and frame count
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3889 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
paul
b879a610a3
check return result of engine->set_buffer_size() in all backends, so that if the user specifies -M <insane>, we fail cleanly rather than with a segfault; update man page with comments about -M values
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3888 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
paul
b02124591e
make MIDI port buffer size variable with -M cmdline argument; reduce size of jack_midi_port_internal_event_t from 12 to 8 bytes
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3884 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
paul
a83075398b
fix race when ending freewheeling (from torben)
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3879 0c269be4-1314-0410-8aa9-9f06e86f4224
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
36260dea00
change identifier to metadata... doh
15 years ago
Torben Hohn
dcbd3db465
fix do_reserve client, deadlock...
15 years ago
Torben Hohn
4e9ed4569a
send session notifications to specific clients (2/2)
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
693493357e
make session_notify also reply with client_name
15 years ago
Torben Hohn
ebcefb09ee
check whether clientname was already taken.
15 years ago
Torben Hohn
dab3b86abd
add jack_rename_client...
15 years ago
Torben Hohn
aca2a12117
set and get cookie...
15 years ago
Torben Hohn
c96d49d21e
remove uuid field from ports again, and add jack_get_client_name_by_uuid()
15 years ago
Torben Hohn
bd9b4b3833
first port_connect output.
15 years ago
Torben Hohn
ec450d3ec7
make sure uuid is set at save.
15 years ago
Torben Hohn
0cd91348c6
return of the startup strings.
15 years ago
Torben Hohn
5a4e40db2c
fix some stuff....
15 years ago
Torben Hohn
0ce4d045d3
allow NULL path parameter.
15 years ago
Torben Hohn
78cbb6d5c2
initial commit of session notification infrastructure
15 years ago
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