Jack2: transport.h Source File

Jack2 1.9.21

transport.h
1/*
2 Copyright (C) 2002 Paul Davis
3 Copyright (C) 2003 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_transport_h__
22#define __jack_transport_h__
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
28#include <jack/types.h>
29#include <jack/weakmacros.h>
30
52 int jack_release_timebase (jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT;
53
74 int jack_set_sync_callback (jack_client_t *client,
75 JackSyncCallback sync_callback,
76 void *arg) JACK_OPTIONAL_WEAK_EXPORT;
77
95 int jack_set_sync_timeout (jack_client_t *client,
96 jack_time_t timeout) JACK_OPTIONAL_WEAK_EXPORT;
97
123 int jack_set_timebase_callback (jack_client_t *client,
124 int conditional,
125 JackTimebaseCallback timebase_callback,
126 void *arg) JACK_OPTIONAL_WEAK_EXPORT;
127
144 int jack_transport_locate (jack_client_t *client,
145 jack_nframes_t frame) JACK_OPTIONAL_WEAK_EXPORT;
146
162jack_transport_state_t jack_transport_query (const jack_client_t *client,
163 jack_position_t *pos) JACK_OPTIONAL_WEAK_EXPORT;
164
172jack_nframes_t jack_get_current_transport_frame (const jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT;
173
190 int jack_transport_reposition (jack_client_t *client,
191 const jack_position_t *pos) JACK_OPTIONAL_WEAK_EXPORT;
192
204 void jack_transport_start (jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT;
205
214 void jack_transport_stop (jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT;
215
228 void jack_get_transport_info (jack_client_t *client,
229 jack_transport_info_t *tinfo) JACK_OPTIONAL_WEAK_EXPORT;
230
238 void jack_set_transport_info (jack_client_t *client,
239 jack_transport_info_t *tinfo) JACK_OPTIONAL_WEAK_EXPORT;
240
243#ifdef __cplusplus
244}
245#endif
246
247#endif /* __jack_transport_h__ */
jack_set_timebase_callback
int jack_set_timebase_callback(jack_client_t *client, int conditional, JackTimebaseCallback timebase_callback, void *arg) JACK_OPTIONAL_WEAK_EXPORT
jack_set_transport_info
void jack_set_transport_info(jack_client_t *client, jack_transport_info_t *tinfo) JACK_OPTIONAL_WEAK_EXPORT
jack_set_sync_timeout
int jack_set_sync_timeout(jack_client_t *client, jack_time_t timeout) JACK_OPTIONAL_WEAK_EXPORT
jack_transport_reposition
int jack_transport_reposition(jack_client_t *client, const jack_position_t *pos) JACK_OPTIONAL_WEAK_EXPORT
jack_transport_query
jack_transport_state_t jack_transport_query(const jack_client_t *client, jack_position_t *pos) JACK_OPTIONAL_WEAK_EXPORT
jack_transport_stop
void jack_transport_stop(jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT
jack_get_transport_info
void jack_get_transport_info(jack_client_t *client, jack_transport_info_t *tinfo) JACK_OPTIONAL_WEAK_EXPORT
jack_transport_locate
int jack_transport_locate(jack_client_t *client, jack_nframes_t frame) JACK_OPTIONAL_WEAK_EXPORT
jack_transport_start
void jack_transport_start(jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT
jack_set_sync_callback
int jack_set_sync_callback(jack_client_t *client, JackSyncCallback sync_callback, void *arg) JACK_OPTIONAL_WEAK_EXPORT
jack_release_timebase
int jack_release_timebase(jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT
jack_get_current_transport_frame
jack_nframes_t jack_get_current_transport_frame(const jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT
_jack_position
Definition: types.h:558
jack_transport_info_t
Definition: types.h:723