Jack2 1.9.21

jack.h
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{
27#endif
28
29#include <jack/systemdeps.h>
30#include <jack/types.h>
31#include <jack/transport.h>
32
37 /*************************************************************
38 * NOTE: JACK_WEAK_EXPORT ***MUST*** be used on every function
39 * added to the JACK API after the 0.116.2 release.
40 *
41 * Functions that predate this release are marked with
42 * JACK_WEAK_OPTIONAL_EXPORT which can be defined at compile
43 * time in a variety of ways. The default definition is empty,
44 * so that these symbols get normal linkage. If you wish to
45 * use all JACK symbols with weak linkage, include
46 * <jack/weakjack.h> before jack.h.
47 *************************************************************/
48
49#include <jack/weakmacros.h>
50
63 void
64jack_get_version(
65 int *major_ptr,
66 int *minor_ptr,
67 int *micro_ptr,
68 int *proto_ptr) JACK_OPTIONAL_WEAK_EXPORT;
69
76 const char *
77jack_get_version_string(void) JACK_OPTIONAL_WEAK_EXPORT;
78
117jack_client_t * jack_client_open (const char *client_name,
118 jack_options_t options,
119 jack_status_t *status, ...) JACK_OPTIONAL_WEAK_EXPORT;
120
127jack_client_t * jack_client_new (const char *client_name) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
128
134 int jack_client_close (jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT;
135
140 int jack_client_name_size (void) JACK_OPTIONAL_WEAK_EXPORT;
141
148 char * jack_get_client_name (jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT;
149
158 char *jack_get_uuid_for_client_name (jack_client_t *client,
159 const char *client_name) JACK_WEAK_EXPORT;
160
170 char *jack_get_client_name_by_uuid (jack_client_t *client,
171 const char *client_uuid ) JACK_WEAK_EXPORT;
172
194 int jack_internal_client_new (const char *client_name,
195 const char *load_name,
196 const char *load_init) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
197
203 void jack_internal_client_close (const char *client_name) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
204
211 int jack_activate (jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT;
212
220 int jack_deactivate (jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT;
221
225 int jack_get_client_pid (const char *name) JACK_OPTIONAL_WEAK_EXPORT;
226
231jack_native_thread_t jack_client_thread_id (jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT;
232
242 int jack_is_realtime (jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT;
243
255jack_nframes_t jack_thread_wait (jack_client_t *client, int status) JACK_OPTIONAL_WEAK_EXPORT;
256
264jack_nframes_t jack_cycle_wait (jack_client_t* client) JACK_OPTIONAL_WEAK_EXPORT;
265
272 void jack_cycle_signal (jack_client_t* client, int status) JACK_OPTIONAL_WEAK_EXPORT;
273
290 int jack_set_process_thread(jack_client_t* client, JackThreadCallback thread_callback, void *arg) JACK_OPTIONAL_WEAK_EXPORT;
291
313 int jack_set_thread_init_callback (jack_client_t *client,
314 JackThreadInitCallback thread_init_callback,
315 void *arg) JACK_OPTIONAL_WEAK_EXPORT;
316
345 void jack_on_shutdown (jack_client_t *client,
346 JackShutdownCallback shutdown_callback, void *arg) JACK_OPTIONAL_WEAK_EXPORT;
347
375 void jack_on_info_shutdown (jack_client_t *client,
376 JackInfoShutdownCallback shutdown_callback, void *arg) JACK_WEAK_EXPORT;
377
395 int jack_set_process_callback (jack_client_t *client,
396 JackProcessCallback process_callback,
397 void *arg) JACK_OPTIONAL_WEAK_EXPORT;
398
415 int jack_set_freewheel_callback (jack_client_t *client,
416 JackFreewheelCallback freewheel_callback,
417 void *arg) JACK_OPTIONAL_WEAK_EXPORT;
418
438 int jack_set_buffer_size_callback (jack_client_t *client,
439 JackBufferSizeCallback bufsize_callback,
440 void *arg) JACK_OPTIONAL_WEAK_EXPORT;
441
455 int jack_set_sample_rate_callback (jack_client_t *client,
456 JackSampleRateCallback srate_callback,
457 void *arg) JACK_OPTIONAL_WEAK_EXPORT;
458
472 int jack_set_client_registration_callback (jack_client_t *client,
473 JackClientRegistrationCallback
474 registration_callback, void *arg) JACK_OPTIONAL_WEAK_EXPORT;
475
489 int jack_set_port_registration_callback (jack_client_t *client,
490 JackPortRegistrationCallback
491 registration_callback, void *arg) JACK_OPTIONAL_WEAK_EXPORT;
492
506 int jack_set_port_connect_callback (jack_client_t *client,
507 JackPortConnectCallback
508 connect_callback, void *arg) JACK_OPTIONAL_WEAK_EXPORT;
509
523 int jack_set_port_rename_callback (jack_client_t *client,
524 JackPortRenameCallback
525 rename_callback, void *arg) JACK_OPTIONAL_WEAK_EXPORT;
526
540 int jack_set_graph_order_callback (jack_client_t *client,
541 JackGraphOrderCallback graph_callback,
542 void *) JACK_OPTIONAL_WEAK_EXPORT;
543
557 int jack_set_xrun_callback (jack_client_t *client,
558 JackXRunCallback xrun_callback, void *arg) JACK_OPTIONAL_WEAK_EXPORT;
559
617 int jack_set_latency_callback (jack_client_t *client,
618 JackLatencyCallback latency_callback,
619 void *) JACK_WEAK_EXPORT;
651 int jack_set_freewheel(jack_client_t* client, int onoff) JACK_OPTIONAL_WEAK_EXPORT;
652
668 int jack_set_buffer_size (jack_client_t *client, jack_nframes_t nframes) JACK_OPTIONAL_WEAK_EXPORT;
669
674jack_nframes_t jack_get_sample_rate (jack_client_t *) JACK_OPTIONAL_WEAK_EXPORT;
675
685jack_nframes_t jack_get_buffer_size (jack_client_t *) JACK_OPTIONAL_WEAK_EXPORT;
686
697 int jack_engine_takeover_timebase (jack_client_t *) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
698
705 float jack_cpu_load (jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT;
706
743jack_port_t * jack_port_register (jack_client_t *client,
744 const char *port_name,
745 const char *port_type,
746 unsigned long flags,
747 unsigned long buffer_size) JACK_OPTIONAL_WEAK_EXPORT;
748
755 int jack_port_unregister (jack_client_t *client, jack_port_t *port) JACK_OPTIONAL_WEAK_EXPORT;
756
776 void * jack_port_get_buffer (jack_port_t *port, jack_nframes_t) JACK_OPTIONAL_WEAK_EXPORT;
777
783jack_uuid_t jack_port_uuid (const jack_port_t *port) JACK_OPTIONAL_WEAK_EXPORT;
784
791const char * jack_port_name (const jack_port_t *port) JACK_OPTIONAL_WEAK_EXPORT;
792
799const char * jack_port_short_name (const jack_port_t *port) JACK_OPTIONAL_WEAK_EXPORT;
800
804 int jack_port_flags (const jack_port_t *port) JACK_OPTIONAL_WEAK_EXPORT;
805
810const char * jack_port_type (const jack_port_t *port) JACK_OPTIONAL_WEAK_EXPORT;
811
815jack_port_type_id_t jack_port_type_id (const jack_port_t *port) JACK_OPTIONAL_WEAK_EXPORT;
816
820 int jack_port_is_mine (const jack_client_t *client, const jack_port_t *port) JACK_OPTIONAL_WEAK_EXPORT;
821
827 int jack_port_connected (const jack_port_t *port) JACK_OPTIONAL_WEAK_EXPORT;
828
835 int jack_port_connected_to (const jack_port_t *port,
836 const char *port_name) JACK_OPTIONAL_WEAK_EXPORT;
837
849const char ** jack_port_get_connections (const jack_port_t *port) JACK_OPTIONAL_WEAK_EXPORT;
850
870const char ** jack_port_get_all_connections (const jack_client_t *client,
871 const jack_port_t *port) JACK_OPTIONAL_WEAK_EXPORT;
872
880 int jack_port_tie (jack_port_t *src, jack_port_t *dst) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
881
889 int jack_port_untie (jack_port_t *port) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
890
901 int jack_port_set_name (jack_port_t *port, const char *port_name) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
902
913 int jack_port_rename (jack_client_t* client, jack_port_t *port, const char *port_name) JACK_OPTIONAL_WEAK_EXPORT;
914
928 int jack_port_set_alias (jack_port_t *port, const char *alias) JACK_OPTIONAL_WEAK_EXPORT;
929
938 int jack_port_unset_alias (jack_port_t *port, const char *alias) JACK_OPTIONAL_WEAK_EXPORT;
939
945 int jack_port_get_aliases (const jack_port_t *port, char* const aliases[2]) JACK_OPTIONAL_WEAK_EXPORT;
946
951 int jack_port_request_monitor (jack_port_t *port, int onoff) JACK_OPTIONAL_WEAK_EXPORT;
952
961 int jack_port_request_monitor_by_name (jack_client_t *client,
962 const char *port_name, int onoff) JACK_OPTIONAL_WEAK_EXPORT;
963
971 int jack_port_ensure_monitor (jack_port_t *port, int onoff) JACK_OPTIONAL_WEAK_EXPORT;
972
976 int jack_port_monitoring_input (jack_port_t *port) JACK_OPTIONAL_WEAK_EXPORT;
977
995 int jack_connect (jack_client_t *client,
996 const char *source_port,
997 const char *destination_port) JACK_OPTIONAL_WEAK_EXPORT;
998
1012 int jack_disconnect (jack_client_t *client,
1013 const char *source_port,
1014 const char *destination_port) JACK_OPTIONAL_WEAK_EXPORT;
1015
1025 int jack_port_disconnect (jack_client_t *client, jack_port_t *port) JACK_OPTIONAL_WEAK_EXPORT;
1026
1035 int jack_port_name_size(void) JACK_OPTIONAL_WEAK_EXPORT;
1036
1041 int jack_port_type_size(void) JACK_OPTIONAL_WEAK_EXPORT;
1042
1048 size_t jack_port_type_get_buffer_size (jack_client_t *client, const char *port_type) JACK_WEAK_EXPORT;
1049
1116 void jack_port_set_latency (jack_port_t *port, jack_nframes_t) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
1117
1130 void jack_port_get_latency_range (jack_port_t *port, jack_latency_callback_mode_t mode, jack_latency_range_t *range) JACK_WEAK_EXPORT;
1131
1199 void jack_port_set_latency_range (jack_port_t *port, jack_latency_callback_mode_t mode, jack_latency_range_t *range) JACK_WEAK_EXPORT;
1200
1214 int jack_recompute_total_latencies (jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT;
1215
1231jack_nframes_t jack_port_get_latency (jack_port_t *port) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
1232
1243jack_nframes_t jack_port_get_total_latency (jack_client_t *client,
1244 jack_port_t *port) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
1245
1262 int jack_recompute_total_latency (jack_client_t*, jack_port_t* port) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
1263
1287const char ** jack_get_ports (jack_client_t *client,
1288 const char *port_name_pattern,
1289 const char *type_name_pattern,
1290 unsigned long flags) JACK_OPTIONAL_WEAK_EXPORT;
1291
1297jack_port_t * jack_port_by_name (jack_client_t *client, const char *port_name) JACK_OPTIONAL_WEAK_EXPORT;
1298
1302jack_port_t * jack_port_by_id (jack_client_t *client,
1303 jack_port_id_t port_id) JACK_OPTIONAL_WEAK_EXPORT;
1304
1320jack_nframes_t jack_frames_since_cycle_start (const jack_client_t *) JACK_OPTIONAL_WEAK_EXPORT;
1321
1328jack_nframes_t jack_frame_time (const jack_client_t *) JACK_OPTIONAL_WEAK_EXPORT;
1329
1344jack_nframes_t jack_last_frame_time (const jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT;
1345
1389 int jack_get_cycle_times(const jack_client_t *client,
1390 jack_nframes_t *current_frames,
1391 jack_time_t *current_usecs,
1392 jack_time_t *next_usecs,
1393 float *period_usecs) JACK_OPTIONAL_WEAK_EXPORT;
1394
1398jack_time_t jack_frames_to_time(const jack_client_t *client, jack_nframes_t) JACK_OPTIONAL_WEAK_EXPORT;
1399
1403jack_nframes_t jack_time_to_frames(const jack_client_t *client, jack_time_t) JACK_OPTIONAL_WEAK_EXPORT;
1404
1411jack_time_t jack_get_time(void) JACK_OPTIONAL_WEAK_EXPORT;
1412
1428extern void (*jack_error_callback)(const char *msg) JACK_OPTIONAL_WEAK_EXPORT;
1429
1437 void jack_set_error_function (void (*func)(const char *)) JACK_OPTIONAL_WEAK_EXPORT;
1438
1447extern void (*jack_info_callback)(const char *msg) JACK_OPTIONAL_WEAK_EXPORT;
1448
1456 void jack_set_info_function (void (*func)(const char *)) JACK_OPTIONAL_WEAK_EXPORT;
1457
1468 void jack_free(void* ptr) JACK_OPTIONAL_WEAK_EXPORT;
1469
1470
1471#ifdef __cplusplus
1472}
1473#endif
1474
1475#endif /* __jack_h__ */
jack_set_buffer_size_callback
int jack_set_buffer_size_callback(jack_client_t *client, JackBufferSizeCallback bufsize_callback, void *arg) JACK_OPTIONAL_WEAK_EXPORT
jack_set_latency_callback
int jack_set_latency_callback(jack_client_t *client, JackLatencyCallback latency_callback, void *) JACK_WEAK_EXPORT
jack_set_xrun_callback
int jack_set_xrun_callback(jack_client_t *client, JackXRunCallback xrun_callback, void *arg) JACK_OPTIONAL_WEAK_EXPORT
jack_set_port_rename_callback
int jack_set_port_rename_callback(jack_client_t *client, JackPortRenameCallback rename_callback, void *arg) JACK_OPTIONAL_WEAK_EXPORT
jack_set_graph_order_callback
int jack_set_graph_order_callback(jack_client_t *client, JackGraphOrderCallback graph_callback, void *) JACK_OPTIONAL_WEAK_EXPORT
jack_on_info_shutdown
void jack_on_info_shutdown(jack_client_t *client, JackInfoShutdownCallback shutdown_callback, void *arg) JACK_WEAK_EXPORT
jack_on_shutdown
void jack_on_shutdown(jack_client_t *client, JackShutdownCallback shutdown_callback, void *arg) 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_set_port_registration_callback
int jack_set_port_registration_callback(jack_client_t *client, JackPortRegistrationCallback registration_callback, void *arg) 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_set_client_registration_callback
int jack_set_client_registration_callback(jack_client_t *client, JackClientRegistrationCallback registration_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
jack_set_port_connect_callback
int jack_set_port_connect_callback(jack_client_t *client, JackPortConnectCallback connect_callback, void *arg) 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_client_thread_id
jack_native_thread_t jack_client_thread_id(jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT
jack_get_client_pid
int jack_get_client_pid(const char *name) JACK_OPTIONAL_WEAK_EXPORT
jack_internal_client_close
void jack_internal_client_close(const char *client_name) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT
jack_deactivate
int jack_deactivate(jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT
jack_get_client_name
char * jack_get_client_name(jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT
jack_client_close
int jack_client_close(jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT
jack_get_uuid_for_client_name
char * jack_get_uuid_for_client_name(jack_client_t *client, const char *client_name) JACK_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_activate
int jack_activate(jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT
jack_client_name_size
int jack_client_name_size(void) JACK_OPTIONAL_WEAK_EXPORT
jack_get_client_name_by_uuid
char * jack_get_client_name_by_uuid(jack_client_t *client, const char *client_uuid) JACK_WEAK_EXPORT
jack_client_new
jack_client_t * jack_client_new(const char *client_name) JACK_OPTIONAL_WEAK_DEPRECATED_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_set_info_function
void jack_set_info_function(void(*func)(const char *)) JACK_OPTIONAL_WEAK_EXPORT
jack_info_callback
void(* jack_info_callback)(const char *msg) JACK_OPTIONAL_WEAK_EXPORT
jack_set_error_function
void jack_set_error_function(void(*func)(const char *)) JACK_OPTIONAL_WEAK_EXPORT
jack_error_callback
void(* jack_error_callback)(const char *msg) JACK_OPTIONAL_WEAK_EXPORT
jack_port_get_total_latency
jack_nframes_t jack_port_get_total_latency(jack_client_t *client, jack_port_t *port) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT
jack_port_get_latency
jack_nframes_t jack_port_get_latency(jack_port_t *port) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT
jack_recompute_total_latency
int jack_recompute_total_latency(jack_client_t *, jack_port_t *port) JACK_OPTIONAL_WEAK_DEPRECATED_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_recompute_total_latencies
int jack_recompute_total_latencies(jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT
jack_port_set_latency
void jack_port_set_latency(jack_port_t *port, 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_set_process_thread
int jack_set_process_thread(jack_client_t *client, JackThreadCallback thread_callback, void *arg) JACK_OPTIONAL_WEAK_EXPORT
jack_cycle_signal
void jack_cycle_signal(jack_client_t *client, int status) JACK_OPTIONAL_WEAK_EXPORT
jack_thread_wait
jack_nframes_t jack_thread_wait(jack_client_t *client, int status) JACK_OPTIONAL_WEAK_EXPORT
jack_cycle_wait
jack_nframes_t jack_cycle_wait(jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT
jack_port_name
const char * jack_port_name(const jack_port_t *port) 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_port_set_name
int jack_port_set_name(jack_port_t *port, const char *port_name) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT
jack_port_unregister
int jack_port_unregister(jack_client_t *client, 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_port_rename
int jack_port_rename(jack_client_t *client, jack_port_t *port, const char *port_name) JACK_OPTIONAL_WEAK_EXPORT
jack_port_short_name
const char * jack_port_short_name(const jack_port_t *port) 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_port_disconnect
int jack_port_disconnect(jack_client_t *client, 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_port_type_id
jack_port_type_id_t jack_port_type_id(const jack_port_t *port) JACK_OPTIONAL_WEAK_EXPORT
jack_connect
int jack_connect(jack_client_t *client, const char *source_port, const char *destination_port) 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_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_get_connections
const char ** jack_port_get_connections(const jack_port_t *port) JACK_OPTIONAL_WEAK_EXPORT
jack_port_monitoring_input
int jack_port_monitoring_input(jack_port_t *port) JACK_OPTIONAL_WEAK_EXPORT
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_disconnect
int jack_disconnect(jack_client_t *client, const char *source_port, const char *destination_port) JACK_OPTIONAL_WEAK_EXPORT
jack_port_ensure_monitor
int jack_port_ensure_monitor(jack_port_t *port, int onoff) JACK_OPTIONAL_WEAK_EXPORT
jack_port_type
const char * jack_port_type(const jack_port_t *port) JACK_OPTIONAL_WEAK_EXPORT
jack_port_type_size
int jack_port_type_size(void) JACK_OPTIONAL_WEAK_EXPORT
jack_port_connected_to
int jack_port_connected_to(const jack_port_t *port, const char *port_name) JACK_OPTIONAL_WEAK_EXPORT
jack_port_untie
int jack_port_untie(jack_port_t *port) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT
jack_port_request_monitor
int jack_port_request_monitor(jack_port_t *port, int onoff) JACK_OPTIONAL_WEAK_EXPORT
jack_port_name_size
int jack_port_name_size(void) JACK_OPTIONAL_WEAK_EXPORT
jack_port_get_buffer
void * jack_port_get_buffer(jack_port_t *port, jack_nframes_t) JACK_OPTIONAL_WEAK_EXPORT
jack_port_is_mine
int jack_port_is_mine(const jack_client_t *client, const jack_port_t *port) JACK_OPTIONAL_WEAK_EXPORT
jack_port_uuid
jack_uuid_t jack_port_uuid(const jack_port_t *port) 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_port_connected
int jack_port_connected(const jack_port_t *port) 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_port_by_name
jack_port_t * jack_port_by_name(jack_client_t *client, const char *port_name) 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_get_ports
const char ** jack_get_ports(jack_client_t *client, const char *port_name_pattern, const char *type_name_pattern, unsigned long flags) JACK_OPTIONAL_WEAK_EXPORT
jack_engine_takeover_timebase
int jack_engine_takeover_timebase(jack_client_t *) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT
jack_get_sample_rate
jack_nframes_t jack_get_sample_rate(jack_client_t *) JACK_OPTIONAL_WEAK_EXPORT
jack_cpu_load
float jack_cpu_load(jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT
jack_get_buffer_size
jack_nframes_t jack_get_buffer_size(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_set_buffer_size
int jack_set_buffer_size(jack_client_t *client, jack_nframes_t nframes) JACK_OPTIONAL_WEAK_EXPORT
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
jack_get_time
jack_time_t jack_get_time(void) JACK_OPTIONAL_WEAK_EXPORT
jack_frame_time
jack_nframes_t jack_frame_time(const jack_client_t *) JACK_OPTIONAL_WEAK_EXPORT
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_to_frames
jack_nframes_t jack_time_to_frames(const jack_client_t *client, jack_time_t) JACK_OPTIONAL_WEAK_EXPORT
jack_frames_since_cycle_start
jack_nframes_t jack_frames_since_cycle_start(const jack_client_t *) 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_latency_range
Definition: types.h:266