JACK-AUDIO-CONNECTION-KIT: jack.h Source File

JACK-AUDIO-CONNECTION-KIT 0.125.0

jack.h
Go to the documentation of this file.
1 /*
2 Copyright (C) 2001 Paul Davis
3 Copyright (C) 2004 Jack O'Quin
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU Lesser General Public License as published by
7 the Free Software Foundation; either version 2.1 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18
19 */
20
21 #ifndef __jack_h__
22 #define __jack_h__
23
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27
28 #include <jack/types.h>
29 #include <jack/transport.h>
30
36 /*************************************************************
37 * NOTE: JACK_WEAK_EXPORT ***MUST*** be used on every function
38 * added to the JACK API after the 0.116.2 release.
39 *
40 * Functions that predate this release are marked with
41 * JACK_WEAK_OPTIONAL_EXPORT which can be defined at compile
42 * time in a variety of ways. The default definition is empty,
43 * so that these symbols get normal linkage. If you wish to
44 * use all JACK symbols with weak linkage, include
45 * <jack/weakjack.h> before jack.h.
46 *************************************************************/
47
48 #include <jack/weakmacros.h>
49
88 jack_client_t *jack_client_open (const char *client_name,
89 jack_options_t options,
90 jack_status_t *status, ...) JACK_OPTIONAL_WEAK_EXPORT;
91
97 jack_client_t *jack_client_new (const char *client_name) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
98
104 int jack_client_close (jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT;
105
110 int jack_client_name_size (void) JACK_OPTIONAL_WEAK_EXPORT;
111
118 char *jack_get_client_name (jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT;
119
130 char *jack_get_uuid_for_client_name (jack_client_t *client,
131 const char *name) JACK_WEAK_EXPORT;
132
142 char *jack_get_client_name_by_uuid (jack_client_t *client,
143 const char *uuid ) JACK_WEAK_EXPORT;
144
166 int jack_internal_client_new (const char *client_name,
167 const char *load_name,
168 const char *load_init) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
169
175 void jack_internal_client_close (const char *client_name) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
176
183 int jack_activate (jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT;
184
192 int jack_deactivate (jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT;
193
198 jack_native_thread_t jack_client_thread_id (jack_client_t *) JACK_OPTIONAL_WEAK_EXPORT;
199
209 int jack_is_realtime (jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT;
210
223 jack_nframes_t jack_thread_wait (jack_client_t*, int status) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
224
232 jack_nframes_t jack_cycle_wait (jack_client_t* client) JACK_OPTIONAL_WEAK_EXPORT;
233
240 void jack_cycle_signal (jack_client_t* client, int status) JACK_OPTIONAL_WEAK_EXPORT;
241
253 int jack_set_process_thread(jack_client_t* client, JackThreadCallback fun, void *arg) JACK_OPTIONAL_WEAK_EXPORT;
254
273 int jack_set_thread_init_callback (jack_client_t *client,
274 JackThreadInitCallback thread_init_callback,
275 void *arg) JACK_OPTIONAL_WEAK_EXPORT;
276
300 void jack_on_shutdown (jack_client_t *client,
301 JackShutdownCallback function, void *arg) JACK_OPTIONAL_WEAK_EXPORT;
302
326 void jack_on_info_shutdown (jack_client_t *client,
327 JackInfoShutdownCallback function, void *arg) JACK_WEAK_EXPORT;
328
342 int jack_set_process_callback (jack_client_t *client,
343 JackProcessCallback process_callback,
344 void *arg) JACK_OPTIONAL_WEAK_EXPORT;
345
355 int jack_set_freewheel_callback (jack_client_t *client,
356 JackFreewheelCallback freewheel_callback,
357 void *arg) JACK_OPTIONAL_WEAK_EXPORT;
358
371 int jack_set_buffer_size_callback (jack_client_t *client,
372 JackBufferSizeCallback bufsize_callback,
373 void *arg) JACK_OPTIONAL_WEAK_EXPORT;
374
381 int jack_set_sample_rate_callback (jack_client_t *client,
382 JackSampleRateCallback srate_callback,
383 void *arg) JACK_OPTIONAL_WEAK_EXPORT;
384
391 int jack_set_client_registration_callback (jack_client_t *,
392 JackClientRegistrationCallback
393 registration_callback, void *arg) JACK_OPTIONAL_WEAK_EXPORT;
394
401 int jack_set_port_registration_callback (jack_client_t *,
402 JackPortRegistrationCallback
403 registration_callback, void *arg) JACK_OPTIONAL_WEAK_EXPORT;
404
405
412 int jack_set_port_rename_callback (jack_client_t *,
413 JackPortRenameCallback
414 rename_callback, void *arg) JACK_OPTIONAL_WEAK_EXPORT;
415
422 int jack_set_port_connect_callback (jack_client_t *,
423 JackPortConnectCallback
424 connect_callback, void *arg) JACK_OPTIONAL_WEAK_EXPORT;
431 int jack_set_graph_order_callback (jack_client_t *,
432 JackGraphOrderCallback graph_callback,
433 void *) JACK_OPTIONAL_WEAK_EXPORT;
434
441 int jack_set_xrun_callback (jack_client_t *,
442 JackXRunCallback xrun_callback, void *arg) JACK_OPTIONAL_WEAK_EXPORT;
443
497 int jack_set_latency_callback (jack_client_t *,
498 JackLatencyCallback latency_callback,
499 void *) JACK_WEAK_EXPORT;
531 int jack_set_freewheel(jack_client_t* client, int onoff) JACK_OPTIONAL_WEAK_EXPORT;
532
548 int jack_set_buffer_size (jack_client_t *client, jack_nframes_t nframes) JACK_OPTIONAL_WEAK_EXPORT;
549
554 jack_nframes_t jack_get_sample_rate (jack_client_t *) JACK_OPTIONAL_WEAK_EXPORT;
555
565 jack_nframes_t jack_get_buffer_size (jack_client_t *) JACK_OPTIONAL_WEAK_EXPORT;
566
577 int jack_engine_takeover_timebase (jack_client_t *) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
578
585 float jack_cpu_load (jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT;
586
587
624 jack_port_t *jack_port_register (jack_client_t *client,
625 const char *port_name,
626 const char *port_type,
627 unsigned long flags,
628 unsigned long buffer_size) JACK_OPTIONAL_WEAK_EXPORT;
629
636 int jack_port_unregister (jack_client_t *, jack_port_t *) JACK_OPTIONAL_WEAK_EXPORT;
637
649 void *jack_port_get_buffer (jack_port_t *, jack_nframes_t) JACK_OPTIONAL_WEAK_EXPORT;
650
657 const char *jack_port_name (const jack_port_t *port) JACK_OPTIONAL_WEAK_EXPORT;
658
664 jack_uuid_t jack_port_uuid (const jack_port_t *port) JACK_OPTIONAL_WEAK_EXPORT;
665
672 const char *jack_port_short_name (const jack_port_t *port) JACK_OPTIONAL_WEAK_EXPORT;
673
677 int jack_port_flags (const jack_port_t *port) JACK_OPTIONAL_WEAK_EXPORT;
678
683 const char *jack_port_type (const jack_port_t *port) JACK_OPTIONAL_WEAK_EXPORT;
684
688 int jack_port_is_mine (const jack_client_t *, const jack_port_t *port) JACK_OPTIONAL_WEAK_EXPORT;
689
695 int jack_port_connected (const jack_port_t *port) JACK_OPTIONAL_WEAK_EXPORT;
696
703 int jack_port_connected_to (const jack_port_t *port,
704 const char *port_name) JACK_OPTIONAL_WEAK_EXPORT;
705
717 const char **jack_port_get_connections (const jack_port_t *port) JACK_OPTIONAL_WEAK_EXPORT;
718
738 const char **jack_port_get_all_connections (const jack_client_t *client,
739 const jack_port_t *port) JACK_OPTIONAL_WEAK_EXPORT;
740
748 int jack_port_tie (jack_port_t *src, jack_port_t *dst) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
749
757 int jack_port_untie (jack_port_t *port) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
758
766 int jack_port_set_name (jack_port_t *port, const char *port_name) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
767
778 int jack_port_rename (jack_client_t* client, jack_port_t *port, const char *port_name) JACK_OPTIONAL_WEAK_EXPORT;
779
793 int jack_port_set_alias (jack_port_t *port, const char *alias) JACK_OPTIONAL_WEAK_EXPORT;
794
803 int jack_port_unset_alias (jack_port_t *port, const char *alias) JACK_OPTIONAL_WEAK_EXPORT;
804
805 /*
806 * Get any aliases known for @port.
807 *
808 * @return the number of aliases discovered for the port
809 */
810 int jack_port_get_aliases (const jack_port_t *port, char* const aliases[2]) JACK_OPTIONAL_WEAK_EXPORT;
811
816 int jack_port_request_monitor (jack_port_t *port, int onoff) JACK_OPTIONAL_WEAK_EXPORT;
817
826 int jack_port_request_monitor_by_name (jack_client_t *client,
827 const char *port_name, int onoff) JACK_OPTIONAL_WEAK_EXPORT;
828
836 int jack_port_ensure_monitor (jack_port_t *port, int onoff) JACK_OPTIONAL_WEAK_EXPORT;
837
841 int jack_port_monitoring_input (jack_port_t *port) JACK_OPTIONAL_WEAK_EXPORT;
842
860 int jack_connect (jack_client_t *,
861 const char *source_port,
862 const char *destination_port) JACK_OPTIONAL_WEAK_EXPORT;
863
877 int jack_disconnect (jack_client_t *,
878 const char *source_port,
879 const char *destination_port) JACK_OPTIONAL_WEAK_EXPORT;
880
890 int jack_port_disconnect (jack_client_t *, jack_port_t *) JACK_OPTIONAL_WEAK_EXPORT;
891
900 int jack_port_name_size(void) JACK_OPTIONAL_WEAK_EXPORT;
901
906 int jack_port_type_size(void) JACK_OPTIONAL_WEAK_EXPORT;
907
913 size_t jack_port_type_get_buffer_size (jack_client_t *client, const char *port_type) JACK_WEAK_EXPORT;
914
981 void jack_port_set_latency (jack_port_t *, jack_nframes_t) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
982
992 void jack_port_get_latency_range (jack_port_t *port, jack_latency_callback_mode_t mode, jack_latency_range_t *range) JACK_WEAK_EXPORT;
993
1061 void jack_port_set_latency_range (jack_port_t *port, jack_latency_callback_mode_t mode, jack_latency_range_t *range) JACK_WEAK_EXPORT;
1062
1076 int jack_recompute_total_latencies (jack_client_t*) JACK_OPTIONAL_WEAK_EXPORT;
1077
1093 jack_nframes_t jack_port_get_latency (jack_port_t *port) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
1094
1105 jack_nframes_t jack_port_get_total_latency (jack_client_t *,
1106 jack_port_t *port) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
1107
1124 int jack_recompute_total_latency (jack_client_t*, jack_port_t* port) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
1125
1149 const char **jack_get_ports (jack_client_t *,
1150 const char *port_name_pattern,
1151 const char *type_name_pattern,
1152 unsigned long flags) JACK_OPTIONAL_WEAK_EXPORT;
1153
1159 jack_port_t *jack_port_by_name (jack_client_t *, const char *port_name) JACK_OPTIONAL_WEAK_EXPORT;
1160
1164 jack_port_t *jack_port_by_id (jack_client_t *client,
1165 jack_port_id_t port_id) JACK_OPTIONAL_WEAK_EXPORT;
1166
1183 jack_nframes_t jack_frames_since_cycle_start (const jack_client_t *) JACK_OPTIONAL_WEAK_EXPORT;
1184
1191 jack_nframes_t jack_frame_time (const jack_client_t *) JACK_OPTIONAL_WEAK_EXPORT;
1192
1207 jack_nframes_t jack_last_frame_time (const jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT;
1208
1252 int jack_get_cycle_times (const jack_client_t *client,
1253 jack_nframes_t *current_frames,
1254 jack_time_t *current_usecs,
1255 jack_time_t *next_usecs,
1256 float *period_usecs) JACK_OPTIONAL_WEAK_EXPORT;
1257
1261 jack_time_t jack_frames_to_time(const jack_client_t *client, jack_nframes_t) JACK_OPTIONAL_WEAK_EXPORT;
1262
1266 jack_nframes_t jack_time_to_frames(const jack_client_t *client, jack_time_t) JACK_OPTIONAL_WEAK_EXPORT;
1267
1274 jack_time_t jack_get_time(void) JACK_OPTIONAL_WEAK_EXPORT;
1275
1282
1291 extern void (*jack_error_callback)(const char *msg) JACK_OPTIONAL_WEAK_EXPORT;
1292
1299 void jack_set_error_function (void (*func)(const char *)) JACK_OPTIONAL_WEAK_EXPORT;
1300
1309 extern void (*jack_info_callback)(const char *msg) JACK_OPTIONAL_WEAK_EXPORT;
1310
1314 void jack_set_info_function (void (*func)(const char *)) JACK_OPTIONAL_WEAK_EXPORT;
1324 void jack_free(void* ptr) JACK_OPTIONAL_WEAK_EXPORT;
1325
1326 #ifdef __cplusplus
1327 }
1328 #endif
1329
1330 #endif /* __jack_h__ */
jack_set_latency_callback
int jack_set_latency_callback(jack_client_t *, JackLatencyCallback latency_callback, void *) JACK_WEAK_EXPORT
jack_set_process_thread
int jack_set_process_thread(jack_client_t *client, JackThreadCallback fun, void *arg) JACK_OPTIONAL_WEAK_EXPORT
JackProcessCallback
int(* JackProcessCallback)(jack_nframes_t nframes, void *arg)
Definition: types.h:314
client
jack_client_t * client
Definition: simple_client.c:17
jack_port_connected_to
int jack_port_connected_to(const jack_port_t *port, const char *port_name) JACK_OPTIONAL_WEAK_EXPORT
jack_internal_client_new
int jack_internal_client_new(const char *client_name, const char *load_name, const char *load_init) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT
jack_client_name_size
int jack_client_name_size(void) JACK_OPTIONAL_WEAK_EXPORT
jack_port_unset_alias
int jack_port_unset_alias(jack_port_t *port, const char *alias) JACK_OPTIONAL_WEAK_EXPORT
jack_frame_time
jack_nframes_t jack_frame_time(const jack_client_t *) JACK_OPTIONAL_WEAK_EXPORT
jack_cycle_wait
jack_nframes_t jack_cycle_wait(jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT
jack_cycle_signal
void jack_cycle_signal(jack_client_t *client, int status) JACK_OPTIONAL_WEAK_EXPORT
jack_status_t
enum JackStatus jack_status_t
Definition: types.h:248
jack_port_uuid
jack_uuid_t jack_port_uuid(const jack_port_t *port) JACK_OPTIONAL_WEAK_EXPORT
types.h
jack_port_get_total_latency
jack_nframes_t jack_port_get_total_latency(jack_client_t *, jack_port_t *port) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT
jack_client_close
int jack_client_close(jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT
jack_free
void jack_free(void *ptr) JACK_OPTIONAL_WEAK_EXPORT
jack_client_thread_id
jack_native_thread_t jack_client_thread_id(jack_client_t *) JACK_OPTIONAL_WEAK_EXPORT
jack_set_freewheel
int jack_set_freewheel(jack_client_t *client, int onoff) JACK_OPTIONAL_WEAK_EXPORT
jack_port_get_all_connections
const char ** jack_port_get_all_connections(const jack_client_t *client, const jack_port_t *port) JACK_OPTIONAL_WEAK_EXPORT
jack_disconnect
int jack_disconnect(jack_client_t *, const char *source_port, const char *destination_port) JACK_OPTIONAL_WEAK_EXPORT
jack_last_frame_time
jack_nframes_t jack_last_frame_time(const jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT
jack_port_type
const char * jack_port_type(const jack_port_t *port) JACK_OPTIONAL_WEAK_EXPORT
jack_set_buffer_size_callback
int jack_set_buffer_size_callback(jack_client_t *client, JackBufferSizeCallback bufsize_callback, void *arg) JACK_OPTIONAL_WEAK_EXPORT
JackGraphOrderCallback
int(* JackGraphOrderCallback)(void *arg)
Definition: types.h:338
JackThreadCallback
void *(* JackThreadCallback)(void *arg)
Definition: types.h:433
jack_get_uuid_for_client_name
char * jack_get_uuid_for_client_name(jack_client_t *client, const char *name) JACK_WEAK_EXPORT
jack_cpu_load
float jack_cpu_load(jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT
JackPortRegistrationCallback
void(* JackPortRegistrationCallback)(jack_port_id_t port, int register, void *arg)
Definition: types.h:388
jack_deactivate
int jack_deactivate(jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT
jack_port_t
struct _jack_port jack_port_t
Definition: types.h:84
jack_port_monitoring_input
int jack_port_monitoring_input(jack_port_t *port) JACK_OPTIONAL_WEAK_EXPORT
_jack_latency_range
Definition: types.h:288
JackSampleRateCallback
int(* JackSampleRateCallback)(jack_nframes_t nframes, void *arg)
Definition: types.h:377
jack_client_t
struct _jack_client jack_client_t
Definition: types.h:90
jack_port_id_t
uint32_t jack_port_id_t
Definition: types.h:96
jack_native_thread_t
pthread_t jack_native_thread_t
Definition: types.h:103
jack_options_t
enum JackOptions jack_options_t
Definition: types.h:162
jack_set_port_registration_callback
int jack_set_port_registration_callback(jack_client_t *, JackPortRegistrationCallback registration_callback, void *arg) JACK_OPTIONAL_WEAK_EXPORT
jack_activate
int jack_activate(jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT
jack_port_type_get_buffer_size
size_t jack_port_type_get_buffer_size(jack_client_t *client, const char *port_type) JACK_WEAK_EXPORT
jack_port_ensure_monitor
int jack_port_ensure_monitor(jack_port_t *port, int onoff) JACK_OPTIONAL_WEAK_EXPORT
jack_set_client_registration_callback
int jack_set_client_registration_callback(jack_client_t *, JackClientRegistrationCallback registration_callback, void *arg) JACK_OPTIONAL_WEAK_EXPORT
jack_port_untie
int jack_port_untie(jack_port_t *port) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT
jack_engine_takeover_timebase
int jack_engine_takeover_timebase(jack_client_t *) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT
jack_frames_since_cycle_start
jack_nframes_t jack_frames_since_cycle_start(const jack_client_t *) JACK_OPTIONAL_WEAK_EXPORT
jack_on_shutdown
void jack_on_shutdown(jack_client_t *client, JackShutdownCallback function, void *arg) JACK_OPTIONAL_WEAK_EXPORT
jack_port_rename
int jack_port_rename(jack_client_t *client, jack_port_t *port, const char *port_name) JACK_OPTIONAL_WEAK_EXPORT
jack_set_port_connect_callback
int jack_set_port_connect_callback(jack_client_t *, JackPortConnectCallback connect_callback, void *arg) JACK_OPTIONAL_WEAK_EXPORT
jack_port_disconnect
int jack_port_disconnect(jack_client_t *, jack_port_t *) JACK_OPTIONAL_WEAK_EXPORT
JackXRunCallback
int(* JackXRunCallback)(void *arg)
Definition: types.h:350
JackShutdownCallback
void(* JackShutdownCallback)(void *arg)
Definition: types.h:446
jack_frames_to_time
jack_time_t jack_frames_to_time(const jack_client_t *client, jack_nframes_t) JACK_OPTIONAL_WEAK_EXPORT
jack_time_t
uint64_t jack_time_t
Definition: types.h:65
JackLatencyCallback
void(* JackLatencyCallback)(jack_latency_callback_mode_t mode, void *arg)
Definition: types.h:283
jack_thread_wait
jack_nframes_t jack_thread_wait(jack_client_t *, int status) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT
jack_internal_client_close
void jack_internal_client_close(const char *client_name) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT
jack_port_get_buffer
void * jack_port_get_buffer(jack_port_t *, jack_nframes_t) JACK_OPTIONAL_WEAK_EXPORT
jack_port_tie
int jack_port_tie(jack_port_t *src, jack_port_t *dst) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT
jack_set_graph_order_callback
int jack_set_graph_order_callback(jack_client_t *, JackGraphOrderCallback graph_callback, void *) JACK_OPTIONAL_WEAK_EXPORT
jack_set_sample_rate_callback
int jack_set_sample_rate_callback(jack_client_t *client, JackSampleRateCallback srate_callback, void *arg) JACK_OPTIONAL_WEAK_EXPORT
jack_port_by_id
jack_port_t * jack_port_by_id(jack_client_t *client, jack_port_id_t port_id) JACK_OPTIONAL_WEAK_EXPORT
jack_client_open
jack_client_t * jack_client_open(const char *client_name, jack_options_t options, jack_status_t *status,...) JACK_OPTIONAL_WEAK_EXPORT
jack_port_set_latency_range
void jack_port_set_latency_range(jack_port_t *port, jack_latency_callback_mode_t mode, jack_latency_range_t *range) JACK_WEAK_EXPORT
jack_set_info_function
void jack_set_info_function(void(*func)(const char *)) JACK_OPTIONAL_WEAK_EXPORT
jack_client_new
jack_client_t * jack_client_new(const char *client_name) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT
jack_nframes_t
uint32_t jack_nframes_t
Definition: types.h:53
jack_port_get_latency
jack_nframes_t jack_port_get_latency(jack_port_t *port) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT
JackThreadInitCallback
void(* JackThreadInitCallback)(void *arg)
Definition: types.h:328
jack_port_by_name
jack_port_t * jack_port_by_name(jack_client_t *, const char *port_name) JACK_OPTIONAL_WEAK_EXPORT
jack_get_buffer_size
jack_nframes_t jack_get_buffer_size(jack_client_t *) JACK_OPTIONAL_WEAK_EXPORT
jack_time_to_frames
jack_nframes_t jack_time_to_frames(const jack_client_t *client, jack_time_t) JACK_OPTIONAL_WEAK_EXPORT
jack_get_time
jack_time_t jack_get_time(void) JACK_OPTIONAL_WEAK_EXPORT
jack_port_register
jack_port_t * jack_port_register(jack_client_t *client, const char *port_name, const char *port_type, unsigned long flags, unsigned long buffer_size) JACK_OPTIONAL_WEAK_EXPORT
jack_set_port_rename_callback
int jack_set_port_rename_callback(jack_client_t *, JackPortRenameCallback rename_callback, void *arg) JACK_OPTIONAL_WEAK_EXPORT
jack_port_unregister
int jack_port_unregister(jack_client_t *, jack_port_t *) JACK_OPTIONAL_WEAK_EXPORT
JackPortRenameCallback
void(* JackPortRenameCallback)(jack_port_id_t port, const char *old_name, const char *new_name, void *arg)
Definition: types.h:399
jack_port_set_latency
void jack_port_set_latency(jack_port_t *, jack_nframes_t) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT
jack_port_get_latency_range
void jack_port_get_latency_range(jack_port_t *port, jack_latency_callback_mode_t mode, jack_latency_range_t *range) JACK_WEAK_EXPORT
jack_port_get_connections
const char ** jack_port_get_connections(const jack_port_t *port) JACK_OPTIONAL_WEAK_EXPORT
jack_port_get_aliases
int jack_port_get_aliases(const jack_port_t *port, char *const aliases[2]) JACK_OPTIONAL_WEAK_EXPORT
jack_get_ports
const char ** jack_get_ports(jack_client_t *, const char *port_name_pattern, const char *type_name_pattern, unsigned long flags) JACK_OPTIONAL_WEAK_EXPORT
jack_get_client_name_by_uuid
char * jack_get_client_name_by_uuid(jack_client_t *client, const char *uuid) JACK_WEAK_EXPORT
JackClientRegistrationCallback
void(* JackClientRegistrationCallback)(const char *name, int register, void *arg)
Definition: types.h:410
jack_is_realtime
int jack_is_realtime(jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT
jack_port_short_name
const char * jack_port_short_name(const jack_port_t *port) JACK_OPTIONAL_WEAK_EXPORT
jack_get_client_name
char * jack_get_client_name(jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT
jack_connect
int jack_connect(jack_client_t *, const char *source_port, const char *destination_port) JACK_OPTIONAL_WEAK_EXPORT
jack_set_process_callback
int jack_set_process_callback(jack_client_t *client, JackProcessCallback process_callback, void *arg) JACK_OPTIONAL_WEAK_EXPORT
jack_port_type_size
int jack_port_type_size(void) JACK_OPTIONAL_WEAK_EXPORT
jack_uuid_t
uint64_t jack_uuid_t
Definition: types.h:27
jack_get_cycle_times
int jack_get_cycle_times(const jack_client_t *client, jack_nframes_t *current_frames, jack_time_t *current_usecs, jack_time_t *next_usecs, float *period_usecs) JACK_OPTIONAL_WEAK_EXPORT
JackInfoShutdownCallback
void(* JackInfoShutdownCallback)(jack_status_t code, const char *reason, void *arg)
Definition: types.h:461
jack_get_sample_rate
jack_nframes_t jack_get_sample_rate(jack_client_t *) JACK_OPTIONAL_WEAK_EXPORT
jack_port_set_alias
int jack_port_set_alias(jack_port_t *port, const char *alias) JACK_OPTIONAL_WEAK_EXPORT
jack_on_info_shutdown
void jack_on_info_shutdown(jack_client_t *client, JackInfoShutdownCallback function, void *arg) JACK_WEAK_EXPORT
jack_recompute_total_latencies
int jack_recompute_total_latencies(jack_client_t *) JACK_OPTIONAL_WEAK_EXPORT
jack_port_request_monitor
int jack_port_request_monitor(jack_port_t *port, int onoff) JACK_OPTIONAL_WEAK_EXPORT
jack_port_name
const char * jack_port_name(const jack_port_t *port) JACK_OPTIONAL_WEAK_EXPORT
transport.h
jack_port_request_monitor_by_name
int jack_port_request_monitor_by_name(jack_client_t *client, const char *port_name, int onoff) JACK_OPTIONAL_WEAK_EXPORT
jack_set_thread_init_callback
int jack_set_thread_init_callback(jack_client_t *client, JackThreadInitCallback thread_init_callback, void *arg) JACK_OPTIONAL_WEAK_EXPORT
jack_port_name_size
int jack_port_name_size(void) JACK_OPTIONAL_WEAK_EXPORT
jack_latency_callback_mode_t
enum JackLatencyCallbackMode jack_latency_callback_mode_t
Definition: types.h:274
jack_recompute_total_latency
int jack_recompute_total_latency(jack_client_t *, jack_port_t *port) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT
JackFreewheelCallback
void(* JackFreewheelCallback)(int starting, void *arg)
Definition: types.h:431
jack_info_callback
void(* jack_info_callback)(const char *msg) JACK_OPTIONAL_WEAK_EXPORT
JackBufferSizeCallback
int(* JackBufferSizeCallback)(jack_nframes_t nframes, void *arg)
Definition: types.h:366
jack_set_buffer_size
int jack_set_buffer_size(jack_client_t *client, jack_nframes_t nframes) JACK_OPTIONAL_WEAK_EXPORT
jack_port_is_mine
int jack_port_is_mine(const jack_client_t *, const jack_port_t *port) JACK_OPTIONAL_WEAK_EXPORT
jack_port_flags
int jack_port_flags(const jack_port_t *port) JACK_OPTIONAL_WEAK_EXPORT
jack_set_error_function
void jack_set_error_function(void(*func)(const char *)) JACK_OPTIONAL_WEAK_EXPORT
jack_port_set_name
int jack_port_set_name(jack_port_t *port, const char *port_name) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT
JackPortConnectCallback
void(* JackPortConnectCallback)(jack_port_id_t a, jack_port_id_t b, int connect, void *arg)
Definition: types.h:422
jack_error_callback
void(* jack_error_callback)(const char *msg) JACK_OPTIONAL_WEAK_EXPORT
jack_port_connected
int jack_port_connected(const jack_port_t *port) JACK_OPTIONAL_WEAK_EXPORT
jack_set_xrun_callback
int jack_set_xrun_callback(jack_client_t *, JackXRunCallback xrun_callback, void *arg) JACK_OPTIONAL_WEAK_EXPORT
jack_set_freewheel_callback
int jack_set_freewheel_callback(jack_client_t *client, JackFreewheelCallback freewheel_callback, void *arg) JACK_OPTIONAL_WEAK_EXPORT