types.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
#ifndef __jack_types_h__
00023
#define __jack_types_h__
00024
00025
#include <inttypes.h>
00026
00027 typedef char shm_name_t[32];
00028 typedef int32_t
jack_shmsize_t;
00029
00033 typedef uint32_t
jack_nframes_t;
00034
00038 #define JACK_MAX_FRAMES (4294967295U)
00039
00040
00045 typedef uint64_t
jack_time_t;
00046
00051 #define JACK_LOAD_INIT_LIMIT 1024
00052
00058 typedef uint64_t
jack_intclient_t;
00059
00064 typedef struct _jack_port
jack_port_t;
00065
00070 typedef struct _jack_client
jack_client_t;
00071
00076 typedef uint32_t
jack_port_id_t;
00077
00090 typedef int (*JackProcessCallback)(
jack_nframes_t nframes,
void *arg);
00091
00104 typedef void (*JackThreadInitCallback)(
void *arg);
00105
00114 typedef int (*JackGraphOrderCallback)(
void *arg);
00115
00126 typedef int (*JackXRunCallback)(
void *arg);
00127
00142 typedef int (*JackBufferSizeCallback)(
jack_nframes_t nframes,
void *arg);
00143
00153 typedef int (*JackSampleRateCallback)(
jack_nframes_t nframes,
void *arg);
00154
00161 typedef void (*JackPortRegistrationCallback)(
jack_port_id_t port,
int,
void *arg);
00162
00170 typedef void (*JackFreewheelCallback)(
int starting,
void *arg);
00171
00176 #define JACK_DEFAULT_AUDIO_TYPE "32 bit float mono audio"
00177
00183 typedef float jack_default_audio_sample_t;
00184
00191 enum JackPortFlags {
00192
00197
JackPortIsInput = 0x1,
00198
00203
JackPortIsOutput = 0x2,
00204
00209
JackPortIsPhysical = 0x4,
00210
00224
JackPortCanMonitor = 0x8,
00225
00240
JackPortIsTerminal = 0x10
00241 };
00242
00246 enum JackOptions {
00247
00251
JackNullOption = 0x00,
00252
00259
JackNoStartServer = 0x01,
00260
00265
JackUseExactName = 0x02,
00266
00271
JackServerName = 0x04,
00272
00277
JackLoadName = 0x08,
00278
00283
JackLoadInit = 0x10
00284 };
00285
00287 #define JackOpenOptions (JackServerName|JackNoStartServer|JackUseExactName)
00288
00290 #define JackLoadOptions (JackLoadInit|JackLoadName|JackUseExactName)
00291
00296 typedef enum JackOptions jack_options_t;
00297
00301 enum JackStatus {
00302
00306
JackFailure = 0x01,
00307
00311
JackInvalidOption = 0x02,
00312
00322
JackNameNotUnique = 0x04,
00323
00330
JackServerStarted = 0x08,
00331
00335
JackServerFailed = 0x10,
00336
00340
JackServerError = 0x20,
00341
00345
JackNoSuchClient = 0x40
00346 };
00347
00352 typedef enum JackStatus jack_status_t;
00353
00354
#endif
Generated on Sat Jan 15 22:24:32 2005 for JACK-AUDIO-CONNECTION-KIT by
1.3.7