* first basic version of jackpanel-applet works
[jackpanel.git] / jack.vapi
blobfbdfcfe5b707405829cf4674f9e76808977b99da
1 /* jack.vapi generated by vapigen, do not modify. */
2     [SimpleType]
3     [IntegerType (rank = 7)]
4     [CCode (cname = "jack_nframes_t", cheader_filename = "jack/jack.h",  type_id = "G_TYPE_UINT", marshaller_type_name = "UINT", get_value_function = "g_value_get_uint", set_value_function = "g_value_set_uint", default_value = "0U", type_signature = "u")]
5     public struct jack_nframes_t {
6     }    
7         [Compact]
8         [CCode (cheader_filename = "jack/jack.h")]
9         public class jack_client_t {
10         }
11         [Compact]
12         [CCode (cheader_filename = "jack/jack.h")]
13         public class jack_default_audio_sample_t {
14         }
15         [Compact]
16         [CCode (cheader_filename = "jack/jack.h")]
17         public class jack_intclient_t {
18         }
19         [Compact]
20         [CCode (cheader_filename = "jack/jack.h")]
21         public class jack_midi_data_t {
22         }
23         [Compact]
24         [CCode (cheader_filename = "jack/jack.h")]
25         public class jack_midi_event_t {
26                 public weak jack_midi_data_t buffer;
27                 public size_t size;
28                 public weak jack_nframes_t time;
29         }
30         [Compact]
31         [CCode (cheader_filename = "jack/jack.h")]
32         public class jack_port_id_t {
33         }
34         [Compact]
35         [CCode (cheader_filename = "jack/jack.h")]
36         public class jack_port_t {
37         }
38         [Compact]
39         [CCode (cheader_filename = "jack/jack.h")]
40         public struct jack_position_t {
41                 public float audio_frames_per_video_frame;
42                 public int32 bar;
43                 public double bar_start_tick;
44                 public weak jack_nframes_t bbt_offset;
45                 public int32 beat;
46                 public float beat_type;
47                 public float beats_per_bar;
48                 public double beats_per_minute;
49                 public weak jack_nframes_t frame;
50                 public weak jack_nframes_t frame_rate;
51                 public double frame_time;
52                 public double next_time;
53                 [CCode (array_length = false)]
54                 public weak int32[] padding;
55                 public int32 tick;
56                 public double ticks_per_beat;
57                 public weak jack_unique_t unique_1;
58                 public weak jack_unique_t unique_2;
59                 public weak jack_time_t usecs;
60                 public jack_position_bits_t valid;
61                 public weak jack_nframes_t video_offset;
62         }
63         [Compact]
64         [CCode (cheader_filename = "jack/jack.h")]
65         public struct jack_ringbuffer_data_t {
66                 public weak string buf;
67                 public size_t len;
68         }
69         [Compact]
70         [CCode (cheader_filename = "jack/jack.h")]
71         public struct jack_ringbuffer_t {
72                 public weak string buf;
73                 public int mlocked;
74                 public size_t read_ptr;
75                 public size_t size;
76                 public size_t size_mask;
77                 public size_t write_ptr;
78         }
79         [Compact]
80         [CCode (cheader_filename = "jack/jack.h")]
81         public struct jack_shmsize_t {
82         }
83         [Compact]
84         [CCode (cheader_filename = "jack/jack.h")]
85         public struct jack_time_t {
86         }
87         [Compact]
88         [CCode (cheader_filename = "jack/jack.h")]
89         public struct jack_transport_info_t {
90                 public int bar;
91                 public double bar_start_tick;
92                 public int beat;
93                 public float beat_type;
94                 public float beats_per_bar;
95                 public double beats_per_minute;
96                 public weak jack_nframes_t frame;
97                 public weak jack_nframes_t frame_rate;
98                 public weak jack_nframes_t loop_end;
99                 public weak jack_nframes_t loop_start;
100                 public float smpte_frame_rate;
101                 public long smpte_offset;
102                 public int tick;
103                 public double ticks_per_beat;
104                 public jack_transport_state_t transport_state;
105                 public weak jack_time_t usecs;
106                 public jack_transport_bits_t valid;
107         }
108         [Compact]
109         [CCode (cheader_filename = "jack/jack.h")]
110         public struct jack_unique_t {
111         }
112         [Compact]
113         [CCode (cprefix = "", has_type_id = "0", cheader_filename = "jack/jack.h")]
114         public enum jack_options_t {
115                 JackNullOption,
116                 JackNoStartServer,
117                 JackUseExactName,
118                 JackServerName,
119                 JackLoadName,
120                 JackLoadInit
121         }
122         [CCode (cprefix = "", has_type_id = "0", cheader_filename = "jack/jack.h")]
123         public enum jack_position_bits_t {
124                 JackPositionBBT,
125                 JackPositionTimecode,
126                 JackBBTFrameOffset,
127                 JackAudioVideoRatio,
128                 JackVideoFrameOffset
129         }
130         [CCode (cprefix = "", has_type_id = "0", cheader_filename = "jack/jack.h")]
131         public enum jack_status_t {
132                 JackFailure,
133                 JackInvalidOption,
134                 JackNameNotUnique,
135                 JackServerStarted,
136                 JackServerFailed,
137                 JackServerError,
138                 JackNoSuchClient,
139                 JackLoadFailure,
140                 JackInitFailure,
141                 JackShmFailure,
142                 JackVersionError
143         }
144         [CCode (cprefix = "", has_type_id = "0", cheader_filename = "jack/jack.h")]
145         public enum jack_transport_bits_t {
146                 JackTransportState,
147                 JackTransportPosition,
148                 JackTransportLoop,
149                 JackTransportSMPTE,
150                 JackTransportBBT
151         }
152         [CCode (cprefix = "", has_type_id = "0", cheader_filename = "jack/jack.h")]
153         public enum jack_transport_state_t {
154                 JackTransportStopped,
155                 JackTransportRolling,
156                 JackTransportLooping,
157                 JackTransportStarting
158         }
159         [CCode (cheader_filename = "jack/jack.h")]
160         public static delegate int JackBufferSizeCallback (jack_nframes_t nframes, void* arg);
161         [CCode (cheader_filename = "jack/jack.h")]
162         public static delegate void JackClientRegistrationCallback (string name, int p2, void* arg);
163         [CCode (cheader_filename = "jack/jack.h")]
164         public static delegate void JackFreewheelCallback (int starting, void* arg);
165         [CCode (cheader_filename = "jack/jack.h")]
166         public static delegate int JackGraphOrderCallback (void* arg);
167         [CCode (cheader_filename = "jack/jack.h")]
168         public static delegate void JackPortConnectCallback (jack_port_id_t a, jack_port_id_t b, int connect, void* arg);
169         [CCode (cheader_filename = "jack/jack.h")]
170         public static delegate void JackPortRegistrationCallback (jack_port_id_t port, int p2, void* arg);
171         [CCode (cheader_filename = "jack/jack.h")]
172         public static delegate int JackProcessCallback (jack_nframes_t nframes, void* arg);
173         [CCode (cheader_filename = "jack/jack.h")]
174         public static delegate int JackSampleRateCallback (jack_nframes_t nframes, void* arg);
175         [CCode (cheader_filename = "jack/jack.h")]
176         public static delegate int JackSyncCallback (jack_transport_state_t state, jack_position_t pos, void* arg);
177         [CCode (cheader_filename = "jack/jack.h")]
178         public static delegate void* JackThreadCallback (void* arg);
179         [CCode (cheader_filename = "jack/jack.h")]
180         public static delegate void JackThreadInitCallback (void* arg);
181         [CCode (cheader_filename = "jack/jack.h")]
182         public static delegate void JackTimebaseCallback (jack_transport_state_t state, jack_nframes_t nframes, jack_position_t pos, int new_pos, void* arg);
183         [CCode (cheader_filename = "jack/jack.h")]
184         public static delegate int JackXRunCallback (void* arg);
185         [CCode (cheader_filename = "jack/jack.h")]
186         public const string JACK_DEFAULT_AUDIO_TYPE;
187         [CCode (cheader_filename = "jack/jack.h")]
188         public const string JACK_DEFAULT_MIDI_TYPE;
189         [CCode (cheader_filename = "jack/jack.h")]
190         public const int JACK_LOAD_INIT_LIMIT;
191         [CCode (cheader_filename = "jack/jack.h")]
192         public const int JACK_MAX_FRAMES;
193         [CCode (cheader_filename = "jack/jack.h")]
194         public const int JACK_POSITION_MASK;
195         [CCode (cheader_filename = "jack/jack.h")]
196         public const int JackLoadOptions;
197         [CCode (cheader_filename = "jack/jack.h")]
198         public const int JackOpenOptions;
199         [CCode (cheader_filename = "jack/jack.h")]
200         public const int THREAD_STACK;
201         [CCode (cname = "jack_acquire_real_time_scheduling", cheader_filename = "jack/jack.h")]
202         public static int jack_acquire_real_time_scheduling (ulong thread, int priority);
203         [CCode (cname = "jack_activate", cheader_filename = "jack/jack.h")]
204         public static int jack_activate (jack_client_t client);
205         [CCode (cname = "jack_client_close", cheader_filename = "jack/jack.h")]
206         public static int jack_client_close (jack_client_t client);
207         [CCode (cname = "jack_client_create_thread", cheader_filename = "jack/jack.h")]
208         public static int jack_client_create_thread (jack_client_t client, ulong thread, int priority, int realtime, GLib.Callback start_routine, void* arg);
209         [CCode (cname = "jack_client_max_real_time_priority", cheader_filename = "jack/jack.h")]
210         public static int jack_client_max_real_time_priority (jack_client_t p1);
211         [CCode (cname = "jack_client_name_size", cheader_filename = "jack/jack.h")]
212         public static int jack_client_name_size ();
213         [CCode (cname = "jack_client_new", cheader_filename = "jack/jack.h")]
214         public static unowned jack_client_t jack_client_new (string client_name);
215         [CCode (cname = "jack_client_open", cheader_filename = "jack/jack.h")]
216         public static unowned jack_client_t jack_client_open (string client_name, jack_options_t options, ref jack_status_t status);
217         [CCode (cname = "jack_client_real_time_priority", cheader_filename = "jack/jack.h")]
218         public static int jack_client_real_time_priority (jack_client_t p1);
219         [CCode (cname = "jack_client_thread_id", cheader_filename = "jack/jack.h")]
220         public static ulong jack_client_thread_id (jack_client_t p1);
221         [CCode (cname = "jack_connect", cheader_filename = "jack/jack.h")]
222         public static int jack_connect (jack_client_t p1, string source_port, string destination_port);
223         [CCode (cname = "jack_cpu_load", cheader_filename = "jack/jack.h")]
224         public static float jack_cpu_load (jack_client_t client);
225         [CCode (cname = "jack_cycle_signal", cheader_filename = "jack/jack.h")]
226         public static void jack_cycle_signal (jack_client_t client, int status);
227         [CCode (cname = "jack_cycle_wait", cheader_filename = "jack/jack.h")]
228         public static unowned jack_nframes_t jack_cycle_wait (jack_client_t client);
229         [CCode (cname = "jack_deactivate", cheader_filename = "jack/jack.h")]
230         public static int jack_deactivate (jack_client_t client);
231         [CCode (cname = "jack_disconnect", cheader_filename = "jack/jack.h")]
232         public static int jack_disconnect (jack_client_t p1, string source_port, string destination_port);
233         [CCode (cname = "jack_drop_real_time_scheduling", cheader_filename = "jack/jack.h")]
234         public static int jack_drop_real_time_scheduling (ulong thread);
235         [CCode (cname = "jack_dump_timestamps", cheader_filename = "jack/jack.h")]
236         public static void jack_dump_timestamps (GLib.FileStream @out);
237         [CCode (cname = "jack_engine_takeover_timebase", cheader_filename = "jack/jack.h")]
238         public static int jack_engine_takeover_timebase (jack_client_t p1);
239         [CCode (cname = "jack_frame_time", cheader_filename = "jack/jack.h")]
240         public static unowned jack_nframes_t jack_frame_time (jack_client_t p1);
241         [CCode (cname = "jack_frames_since_cycle_start", cheader_filename = "jack/jack.h")]
242         public static unowned jack_nframes_t jack_frames_since_cycle_start (jack_client_t p1);
243         [CCode (cname = "jack_frames_to_time", cheader_filename = "jack/jack.h")]
244         public static unowned jack_time_t jack_frames_to_time (jack_client_t client, jack_nframes_t p2);
245         [CCode (cname = "jack_get_buffer_size", cheader_filename = "jack/jack.h")]
246         public static unowned jack_nframes_t jack_get_buffer_size (jack_client_t p1);
247         [CCode (cname = "jack_get_client_name", cheader_filename = "jack/jack.h")]
248         public static unowned string jack_get_client_name (jack_client_t client);
249         [CCode (cname = "jack_get_current_transport_frame", cheader_filename = "jack/jack.h")]
250         public static unowned jack_nframes_t jack_get_current_transport_frame (jack_client_t client);
251         [CCode (cname = "jack_get_internal_client_name", cheader_filename = "jack/jack.h")]
252         public static unowned string jack_get_internal_client_name (jack_client_t client, jack_intclient_t intclient);
253         [CCode (cname = "jack_get_max_delayed_usecs", cheader_filename = "jack/jack.h")]
254         public static float jack_get_max_delayed_usecs (jack_client_t client);
255         [CCode (cname = "jack_get_ports", cheader_filename = "jack/jack.h")]
256         public static unowned string jack_get_ports (jack_client_t p1, string port_name_pattern, string type_name_pattern, uint flags);
257         [CCode (cname = "jack_get_sample_rate", cheader_filename = "jack/jack.h")]
258         public static unowned jack_nframes_t jack_get_sample_rate (jack_client_t p1);
259         [CCode (cname = "jack_get_time", cheader_filename = "jack/jack.h")]
260         public static unowned jack_time_t jack_get_time ();
261         [CCode (cname = "jack_get_transport_info", cheader_filename = "jack/jack.h")]
262         public static void jack_get_transport_info (jack_client_t client, jack_transport_info_t tinfo);
263         [CCode (cname = "jack_get_xrun_delayed_usecs", cheader_filename = "jack/jack.h")]
264         public static float jack_get_xrun_delayed_usecs (jack_client_t client);
265         [CCode (cname = "jack_init_timestamps", cheader_filename = "jack/jack.h")]
266         public static void jack_init_timestamps (uint howmany);
267         [CCode (cname = "jack_internal_client_close", cheader_filename = "jack/jack.h")]
268         public static void jack_internal_client_close (string client_name);
269         [CCode (cname = "jack_internal_client_handle", cheader_filename = "jack/jack.h")]
270         public static unowned jack_intclient_t jack_internal_client_handle (jack_client_t client, string client_name, jack_status_t status);
271         [CCode (cname = "jack_internal_client_load", cheader_filename = "jack/jack.h")]
272         public static unowned jack_intclient_t jack_internal_client_load (jack_client_t client, string client_name, jack_options_t options, jack_status_t status);
273         [CCode (cname = "jack_internal_client_new", cheader_filename = "jack/jack.h")]
274         public static int jack_internal_client_new (string client_name, string load_name, string load_init);
275         [CCode (cname = "jack_internal_client_unload", cheader_filename = "jack/jack.h")]
276         public static jack_status_t jack_internal_client_unload (jack_client_t client, jack_intclient_t intclient);
277         [CCode (cname = "jack_is_realtime", cheader_filename = "jack/jack.h")]
278         public static int jack_is_realtime (jack_client_t client);
279         [CCode (cname = "jack_last_frame_time", cheader_filename = "jack/jack.h")]
280         public static unowned jack_nframes_t jack_last_frame_time (jack_client_t client);
281         [CCode (cname = "jack_midi_buffer_size", cheader_filename = "jack/jack.h")]
282         public static size_t jack_midi_buffer_size (void* port_buffer);
283         [CCode (cname = "jack_midi_clear_buffer", cheader_filename = "jack/jack.h")]
284         public static void jack_midi_clear_buffer (void* port_buffer);
285         [CCode (cname = "jack_midi_event_get", cheader_filename = "jack/jack.h")]
286         public static int jack_midi_event_get (jack_midi_event_t event, void* port_buffer, jack_nframes_t event_index);
287         [CCode (cname = "jack_midi_event_reserve", cheader_filename = "jack/jack.h")]
288         public static unowned jack_midi_data_t jack_midi_event_reserve (void* port_buffer, jack_nframes_t time, size_t data_size);
289         [CCode (cname = "jack_midi_event_write", cheader_filename = "jack/jack.h")]
290         public static int jack_midi_event_write (void* port_buffer, jack_nframes_t time, jack_midi_data_t data, size_t data_size);
291         [CCode (cname = "jack_midi_get_event_count", cheader_filename = "jack/jack.h")]
292         public static unowned jack_nframes_t jack_midi_get_event_count (void* port_buffer);
293         [CCode (cname = "jack_midi_get_lost_event_count", cheader_filename = "jack/jack.h")]
294         public static unowned jack_nframes_t jack_midi_get_lost_event_count (void* port_buffer);
295         [CCode (cname = "jack_midi_max_event_size", cheader_filename = "jack/jack.h")]
296         public static size_t jack_midi_max_event_size (void* port_buffer);
297         [CCode (cname = "jack_on_shutdown", cheader_filename = "jack/jack.h")]
298         public static void jack_on_shutdown (jack_client_t client, GLib.Callback function, void* arg);
299         [CCode (cname = "jack_port_by_id", cheader_filename = "jack/jack.h")]
300         public static unowned jack_port_t jack_port_by_id (jack_client_t client, jack_port_id_t port_id);
301         [CCode (cname = "jack_port_by_name", cheader_filename = "jack/jack.h")]
302         public static unowned jack_port_t jack_port_by_name (jack_client_t p1, string port_name);
303         [CCode (cname = "jack_port_connected", cheader_filename = "jack/jack.h")]
304         public static int jack_port_connected (jack_port_t port);
305         [CCode (cname = "jack_port_connected_to", cheader_filename = "jack/jack.h")]
306         public static int jack_port_connected_to (jack_port_t port, string port_name);
307         [CCode (cname = "jack_port_disconnect", cheader_filename = "jack/jack.h")]
308         public static int jack_port_disconnect (jack_client_t p1, jack_port_t p2);
309         [CCode (cname = "jack_port_ensure_monitor", cheader_filename = "jack/jack.h")]
310         public static int jack_port_ensure_monitor (jack_port_t port, int onoff);
311         [CCode (cname = "jack_port_flags", cheader_filename = "jack/jack.h")]
312         public static int jack_port_flags (jack_port_t port);
313         [CCode (cname = "jack_port_get_aliases", cheader_filename = "jack/jack.h")]
314         public static int jack_port_get_aliases (jack_port_t port, string[] aliases);
315         [CCode (cname = "jack_port_get_all_connections", cheader_filename = "jack/jack.h")]
316         public static unowned string jack_port_get_all_connections (jack_client_t client, jack_port_t port);
317         [CCode (cname = "jack_port_get_buffer", cheader_filename = "jack/jack.h")]
318         public static void* jack_port_get_buffer (jack_port_t p1, jack_nframes_t p2);
319         [CCode (cname = "jack_port_get_connections", cheader_filename = "jack/jack.h")]
320         public static unowned string jack_port_get_connections (jack_port_t port);
321         [CCode (cname = "jack_port_get_latency", cheader_filename = "jack/jack.h")]
322         public static unowned jack_nframes_t jack_port_get_latency (jack_port_t port);
323         [CCode (cname = "jack_port_get_total_latency", cheader_filename = "jack/jack.h")]
324         public static unowned jack_nframes_t jack_port_get_total_latency (jack_client_t p1, jack_port_t port);
325         [CCode (cname = "jack_port_is_mine", cheader_filename = "jack/jack.h")]
326         public static int jack_port_is_mine (jack_client_t p1, jack_port_t port);
327         [CCode (cname = "jack_port_monitoring_input", cheader_filename = "jack/jack.h")]
328         public static int jack_port_monitoring_input (jack_port_t port);
329         [CCode (cname = "jack_port_name", cheader_filename = "jack/jack.h")]
330         public static unowned string jack_port_name (jack_port_t port);
331         [CCode (cname = "jack_port_name_size", cheader_filename = "jack/jack.h")]
332         public static int jack_port_name_size ();
333         [CCode (cname = "jack_port_register", cheader_filename = "jack/jack.h")]
334         public static unowned jack_port_t jack_port_register (jack_client_t client, string port_name, string port_type, uint flags, uint buffer_size);
335         [CCode (cname = "jack_port_request_monitor", cheader_filename = "jack/jack.h")]
336         public static int jack_port_request_monitor (jack_port_t port, int onoff);
337         [CCode (cname = "jack_port_request_monitor_by_name", cheader_filename = "jack/jack.h")]
338         public static int jack_port_request_monitor_by_name (jack_client_t client, string port_name, int onoff);
339         [CCode (cname = "jack_port_set_alias", cheader_filename = "jack/jack.h")]
340         public static int jack_port_set_alias (jack_port_t port, string alias);
341         [CCode (cname = "jack_port_set_latency", cheader_filename = "jack/jack.h")]
342         public static void jack_port_set_latency (jack_port_t p1, jack_nframes_t p2);
343         [CCode (cname = "jack_port_set_name", cheader_filename = "jack/jack.h")]
344         public static int jack_port_set_name (jack_port_t port, string port_name);
345         [CCode (cname = "jack_port_short_name", cheader_filename = "jack/jack.h")]
346         public static unowned string jack_port_short_name (jack_port_t port);
347         [CCode (cname = "jack_port_tie", cheader_filename = "jack/jack.h")]
348         public static int jack_port_tie (jack_port_t src, jack_port_t dst);
349         [CCode (cname = "jack_port_type", cheader_filename = "jack/jack.h")]
350         public static unowned string jack_port_type (jack_port_t port);
351         [CCode (cname = "jack_port_type_size", cheader_filename = "jack/jack.h")]
352         public static int jack_port_type_size ();
353         [CCode (cname = "jack_port_unregister", cheader_filename = "jack/jack.h")]
354         public static int jack_port_unregister (jack_client_t p1, jack_port_t p2);
355         [CCode (cname = "jack_port_unset_alias", cheader_filename = "jack/jack.h")]
356         public static int jack_port_unset_alias (jack_port_t port, string alias);
357         [CCode (cname = "jack_port_untie", cheader_filename = "jack/jack.h")]
358         public static int jack_port_untie (jack_port_t port);
359         [CCode (cname = "jack_recompute_total_latencies", cheader_filename = "jack/jack.h")]
360         public static int jack_recompute_total_latencies (jack_client_t p1);
361         [CCode (cname = "jack_recompute_total_latency", cheader_filename = "jack/jack.h")]
362         public static int jack_recompute_total_latency (jack_client_t p1, jack_port_t port);
363         [CCode (cname = "jack_release_timebase", cheader_filename = "jack/jack.h")]
364         public static int jack_release_timebase (jack_client_t client);
365         [CCode (cname = "jack_reset_max_delayed_usecs", cheader_filename = "jack/jack.h")]
366         public static void jack_reset_max_delayed_usecs (jack_client_t client);
367         [CCode (cname = "jack_reset_timestamps", cheader_filename = "jack/jack.h")]
368         public static void jack_reset_timestamps ();
369         [CCode (cname = "jack_ringbuffer_create", cheader_filename = "jack/jack.h")]
370         public static unowned jack_ringbuffer_t jack_ringbuffer_create (size_t sz);
371         [CCode (cname = "jack_ringbuffer_free", cheader_filename = "jack/jack.h")]
372         public static void jack_ringbuffer_free (jack_ringbuffer_t rb);
373         [CCode (cname = "jack_ringbuffer_get_read_vector", cheader_filename = "jack/jack.h")]
374         public static void jack_ringbuffer_get_read_vector (jack_ringbuffer_t rb, jack_ringbuffer_data_t vec);
375         [CCode (cname = "jack_ringbuffer_get_write_vector", cheader_filename = "jack/jack.h")]
376         public static void jack_ringbuffer_get_write_vector (jack_ringbuffer_t rb, jack_ringbuffer_data_t vec);
377         [CCode (cname = "jack_ringbuffer_mlock", cheader_filename = "jack/jack.h")]
378         public static int jack_ringbuffer_mlock (jack_ringbuffer_t rb);
379         [CCode (cname = "jack_ringbuffer_peek", cheader_filename = "jack/jack.h")]
380         public static size_t jack_ringbuffer_peek (jack_ringbuffer_t rb, string dest, size_t cnt);
381         [CCode (cname = "jack_ringbuffer_read", cheader_filename = "jack/jack.h")]
382         public static size_t jack_ringbuffer_read (jack_ringbuffer_t rb, string dest, size_t cnt);
383         [CCode (cname = "jack_ringbuffer_read_advance", cheader_filename = "jack/jack.h")]
384         public static void jack_ringbuffer_read_advance (jack_ringbuffer_t rb, size_t cnt);
385         [CCode (cname = "jack_ringbuffer_read_space", cheader_filename = "jack/jack.h")]
386         public static size_t jack_ringbuffer_read_space (jack_ringbuffer_t rb);
387         [CCode (cname = "jack_ringbuffer_reset", cheader_filename = "jack/jack.h")]
388         public static void jack_ringbuffer_reset (jack_ringbuffer_t rb);
389         [CCode (cname = "jack_ringbuffer_write", cheader_filename = "jack/jack.h")]
390         public static size_t jack_ringbuffer_write (jack_ringbuffer_t rb, string src, size_t cnt);
391         [CCode (cname = "jack_ringbuffer_write_advance", cheader_filename = "jack/jack.h")]
392         public static void jack_ringbuffer_write_advance (jack_ringbuffer_t rb, size_t cnt);
393         [CCode (cname = "jack_ringbuffer_write_space", cheader_filename = "jack/jack.h")]
394         public static size_t jack_ringbuffer_write_space (jack_ringbuffer_t rb);
395         [CCode (cname = "jack_set_buffer_size", cheader_filename = "jack/jack.h")]
396         public static int jack_set_buffer_size (jack_client_t client, jack_nframes_t nframes);
397         [CCode (cname = "jack_set_buffer_size_callback", cheader_filename = "jack/jack.h")]
398         public static int jack_set_buffer_size_callback (jack_client_t client, JackBufferSizeCallback bufsize_callback, void* arg);
399         [CCode (cname = "jack_set_client_registration_callback", cheader_filename = "jack/jack.h")]
400         public static int jack_set_client_registration_callback (jack_client_t p1, JackClientRegistrationCallback registration_callback, void* arg);
401         [CCode (cname = "jack_set_error_function", cheader_filename = "jack/jack.h")]
402         public static void jack_set_error_function (GLib.Callback func);
403         [CCode (cname = "jack_set_freewheel", cheader_filename = "jack/jack.h")]
404         public static int jack_set_freewheel (jack_client_t client, int onoff);
405         [CCode (cname = "jack_set_freewheel_callback", cheader_filename = "jack/jack.h")]
406         public static int jack_set_freewheel_callback (jack_client_t client, JackFreewheelCallback freewheel_callback, void* arg);
407         [CCode (cname = "jack_set_graph_order_callback", cheader_filename = "jack/jack.h")]
408         public static int jack_set_graph_order_callback (jack_client_t p1, JackGraphOrderCallback graph_callback, void* p3);
409         [CCode (cname = "jack_set_info_function", cheader_filename = "jack/jack.h")]
410         public static void jack_set_info_function (GLib.Callback func);
411         [CCode (cname = "jack_set_port_connect_callback", cheader_filename = "jack/jack.h")]
412         public static int jack_set_port_connect_callback (jack_client_t p1, JackPortConnectCallback connect_callback, void* arg);
413         [CCode (cname = "jack_set_port_registration_callback", cheader_filename = "jack/jack.h")]
414         public static int jack_set_port_registration_callback (jack_client_t p1, JackPortRegistrationCallback registration_callback, void* arg);
415         [CCode (cname = "jack_set_process_callback", cheader_filename = "jack/jack.h")]
416         public static int jack_set_process_callback (jack_client_t client, JackProcessCallback process_callback, void* arg);
417         [CCode (cname = "jack_set_process_thread", cheader_filename = "jack/jack.h")]
418         public static int jack_set_process_thread (jack_client_t client, JackThreadCallback fun, void* arg);
419         [CCode (cname = "jack_set_sample_rate_callback", cheader_filename = "jack/jack.h")]
420         public static int jack_set_sample_rate_callback (jack_client_t client, JackSampleRateCallback srate_callback, void* arg);
421         [CCode (cname = "jack_set_sync_callback", cheader_filename = "jack/jack.h")]
422         public static int jack_set_sync_callback (jack_client_t client, JackSyncCallback sync_callback, void* arg);
423         [CCode (cname = "jack_set_sync_timeout", cheader_filename = "jack/jack.h")]
424         public static int jack_set_sync_timeout (jack_client_t client, jack_time_t timeout);
425         [CCode (cname = "jack_set_thread_init_callback", cheader_filename = "jack/jack.h")]
426         public static int jack_set_thread_init_callback (jack_client_t client, JackThreadInitCallback thread_init_callback, void* arg);
427         [CCode (cname = "jack_set_timebase_callback", cheader_filename = "jack/jack.h")]
428         public static int jack_set_timebase_callback (jack_client_t client, int conditional, JackTimebaseCallback timebase_callback, void* arg);
429         [CCode (cname = "jack_set_transport_info", cheader_filename = "jack/jack.h")]
430         public static void jack_set_transport_info (jack_client_t client, jack_transport_info_t tinfo);
431         [CCode (cname = "jack_set_xrun_callback", cheader_filename = "jack/jack.h")]
432         public static int jack_set_xrun_callback (jack_client_t p1, JackXRunCallback xrun_callback, void* arg);
433         [CCode (cname = "jack_thread_wait", cheader_filename = "jack/jack.h")]
434         public static unowned jack_nframes_t jack_thread_wait (jack_client_t p1, int status);
435         [CCode (cname = "jack_time_to_frames", cheader_filename = "jack/jack.h")]
436         public static unowned jack_nframes_t jack_time_to_frames (jack_client_t client, jack_time_t p2);
437         [CCode (cname = "jack_timestamp", cheader_filename = "jack/jack.h")]
438         public static void jack_timestamp (string what);
439         [CCode (cname = "jack_transport_locate", cheader_filename = "jack/jack.h")]
440         public static int jack_transport_locate (jack_client_t client, jack_nframes_t frame);
441         [CCode (cname = "jack_transport_query", cheader_filename = "jack/jack.h")]
442         public static jack_transport_state_t jack_transport_query (jack_client_t client, ref jack_position_t pos);
443         [CCode (cname = "jack_transport_reposition", cheader_filename = "jack/jack.h")]
444         public static int jack_transport_reposition (jack_client_t client, ref jack_position_t pos);
445         [CCode (cname = "jack_transport_start", cheader_filename = "jack/jack.h")]
446         public static void jack_transport_start (jack_client_t client);
447         [CCode (cname = "jack_transport_stop", cheader_filename = "jack/jack.h")]
448         public static void jack_transport_stop (jack_client_t client);