paul
8cf46ee70b
check requested buffer size and limit to 1..16384 - avoids wierd behaviour caused by jack_bufsize foobar
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4128 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
7df02e91d5
[core] pass client->engine->buffer_size to bufsize callback, not client->nframes
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4127 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
9ae6231e4f
[latency api] switch JackLatencyCallback to return void
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4109 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
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
8b7329c6a3
dont call jack_attach_port_segment() in jack_client_open_aux()
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4062 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
paul
27ea8647fa
add --enable-valgrind-clean and associated code to permit building a version of libjack that will not trigger valgrind messages. an alternative would be a nice suppression file, if anyone wants to create one (i don't)
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4056 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
torben
52db871370
remove comment from the already removed stack scribble
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4025 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
torben
2691794f94
move stack touching into jack_thread_proxy
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3996 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
torben
20c58349f8
propely zero out the command terminator
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3991 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
9ba49a1b6e
add future field to event struct, and JackSessionNeedTerminal
15 years ago
Torben Hohn
f9545581f7
add jack_client_get_uuid() and fix stuff for multiclient
15 years ago
Torben Hohn
726a93311a
remove jack_rename_client
15 years ago
Torben Hohn
86ff334195
add jack_session_event_free() and dont free it in jack_session_reply()
15 years ago
Torben Hohn
992f3bf639
add flags to jack_session_event_t and session_command_t
15 years ago
Torben Hohn
bd579877d3
remove the arrays from the session_command_t add reserve_client_name
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
bec1a45a67
buffer_resize: only reallocate portbuffers, if number of connections is > 1
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3892 0c269be4-1314-0410-8aa9-9f06e86f4224
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
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
paul
22637219ce
eliminate inadvertent use of client->graph_wait_fd (client->pollfd[WAIT].fd) on OS X - causes illegal write to memory
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3876 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
paul
b8c46c5cf0
ensure that client-side message buffer thread calls thread_init callback if/when it is set by the client
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3838 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
Torben Hohn
36260dea00
change identifier to metadata... doh
15 years ago
Torben Hohn
433e55a10b
Tidy-up-session-stuff-nitpicks-for-upstream by drobilla
15 years ago
Dave Robillard
13b09ef7e3
Tidy up session stuff (nitpicks for upstream).
15 years ago
Torben Hohn
1694498d40
send session notify to specific clients (1/2)
15 years ago
Torben Hohn
b45133ca63
add client reservation...
15 years ago
Torben Hohn
3e2aa98b1a
add client_name to jack_session_command_t client side code.
15 years ago
Torben Hohn
dab3b86abd
add jack_rename_client...
15 years ago
Torben Hohn
9050f6d1ed
properly typedef jack_session_command_t
15 years ago
Torben Hohn
2238980b3b
switch uid to string.. in return value from session_notify
15 years ago
Torben Hohn
d101a354b5
make jack_get_client_name_by_uuid bail out if uuid is not a number
15 years ago
Torben Hohn
aca2a12117
set and get cookie...
15 years ago
paul
13994e640e
remove stray "x" char that appeared in a DEBUG() macro call (prevents --enable-debug configure'd builds from working)
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3826 0c269be4-1314-0410-8aa9-9f06e86f4224
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
5af6bef0bf
remove some debug printf
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
40f06be9fd
add JackSessionUUID to jack_client_open
15 years ago
Torben Hohn
0cd91348c6
return of the startup strings.
15 years ago
Torben Hohn
4843e3fb89
weirdness bug... fix.... this really sucks.
15 years ago
Torben Hohn
5a4e40db2c
fix some stuff....
15 years ago
Torben Hohn
78cbb6d5c2
initial commit of session notification infrastructure
15 years ago
paul
3bcd2ed32e
unchecked malloc return cases in libjack fixed; add info on -L option ; different backend lists in usage text for OS X and linux; indent ringbuffer.c appropriately
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3771 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
paul
a89f884391
test malloc return value in jack_get_ports()
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3750 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
paul
f71f50d4f2
correct callback prototype for info shutdown
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3747 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
paul
0d12d17122
add jack_on_info_shutdown() callback, which provides an code and a string describing why a client thread is being shut down; add jack_free() for compatibility with jack2
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3733 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago