Commit Graph

17 Commits

Author SHA1 Message Date
Nedko Arnaudov 2b7a0b4849 LADI/jack2 variants 2022-09-06 20:48:07 +03:00
David Robillard 4371aabcd0 Fix invalid/unusual documentation comment syntax
Collectively, these trigger warnings in both Doxygen and
clang (-Wdocumentation-unknown-command).  Weirdly, @p in doxygen doesn't do
anything but print in a fixed-width font anyway, so just use Markdown quotes to
replace it which has the same effect (and reads nicer in the source).  The use
of @param like @p was invalid, so do the same to those.
2022-08-22 14:34:12 -04:00
David Robillard fe0ab491b4 Clean up include guards
The previous style(s) used in most places here violates the C standard, and in
practice can trigger -Wreserved-id-macro in clang for client code.  So, switch
to a conventional style that doesn't trigger warnings (and is supported by
tools like clang-tidy).
2022-08-22 14:23:04 -04:00
David Robillard b601e3dc28 Use a consistent style for copyright headers
I chose the most common one here, although the indentation is a bit odd.
2022-08-22 14:19:40 -04:00
David Robillard 6ce9c002bf Delete trailing whitespace 2022-08-22 14:15:02 -04:00
David Runge 4e53c8f0a3 Rely on jack_native_thread_t definition from systemdeps.h
types.h:
Remove the definition of `jack_native_thread_t` as we will be relying on
the one from systemdeps.h.

{jack,thread}.h:
Include systemdeps.h for definition of `jack_native_thread_t`.
2021-12-12 22:23:48 +00:00
Maciej Bliziński 3e0ebfba31 Comment on using jack_port_get_latency_range().
jack_port_get_latency_range only returns meaningful values after ports get
connected, and that is signalled via the latency callback. Saying that it's
normally used in callbacks is too soft, the docs should make it clear that the
function is not very useful outside of the callback, because you don't know
whether the port is connected / whether the latency values changed.
2020-10-11 20:25:12 +02:00
David Robillard eb67fa5ffc Fix invalid jack_set_port_rename_callback comment
Somebody forgot to change the copy/pasted comment...
2019-02-28 08:03:05 +01:00
Andrew Kelley 5a910a030b add missing `void` from jack_get_time prototype 2015-11-09 21:57:43 -07:00
Paul Davis 23c2991480 add new public API: jack_port_rename
This is semantically similar to jack_port_set_name() but because it is also passed a jack_client_t*, it can
contact the server to ensure that not only the rename is done but that port rename callbacks are delivered
appropriately
2015-07-02 12:21:20 -04:00
Paul Davis 742c63e024 tweak doxygen annotations to remove errors 2014-01-18 22:07:57 -05:00
Paul Davis b7f896437a change UUID implementation to use integers and serial counters 2013-11-30 13:05:47 -05:00
Paul Davis 0b467a387a add JackPortNameCallback type and port rename callback (to match changes above, and to come into line with jack2) 2013-10-12 09:48:39 -04:00
Paul Davis 3d5846b477 move declarations of client/UUID related functions from session.h into jack.h, since UUIDs are now at the core 2013-10-06 09:39:42 -04:00
Paul Davis a43a3276b4 add port UUID retrieval function 2013-09-24 09:28:13 -04:00
Paul Davis 433a4ab01f new jack_get_cycle_times() API call provides better access to DLL data for clients and server. implementation in separate commit(s) 2012-03-19 10:38:59 -04:00
Nedko Arnaudov 2476dca8c1 Import jack1 headers from svn r4772 2012-02-02 19:16:32 +02:00