#include <inttypes.h>
Go to the source code of this file.
Defines | |
#define | JACK_MAX_FRAMES (4294967295U) |
#define | JACK_LOAD_INIT_LIMIT 1024 |
#define | JACK_DEFAULT_AUDIO_TYPE "32 bit float mono audio" |
#define | JackOpenOptions (JackServerName|JackNoStartServer|JackUseExactName) |
#define | JackLoadOptions (JackLoadInit|JackLoadName|JackUseExactName) |
Typedefs | |
typedef int32_t | jack_shmsize_t |
typedef uint32_t | jack_nframes_t |
typedef uint64_t | jack_time_t |
typedef uint64_t | jack_intclient_t |
typedef _jack_port | jack_port_t |
typedef _jack_client | jack_client_t |
typedef uint32_t | jack_port_id_t |
typedef int(* | JackProcessCallback )(jack_nframes_t nframes, void *arg) |
typedef void(* | JackThreadInitCallback )(void *arg) |
typedef int(* | JackGraphOrderCallback )(void *arg) |
typedef int(* | JackXRunCallback )(void *arg) |
typedef int(* | JackBufferSizeCallback )(jack_nframes_t nframes, void *arg) |
typedef int(* | JackSampleRateCallback )(jack_nframes_t nframes, void *arg) |
typedef void(* | JackPortRegistrationCallback )(jack_port_id_t port, int, void *arg) |
typedef void(* | JackFreewheelCallback )(int starting, void *arg) |
typedef float | jack_default_audio_sample_t |
typedef enum JackOptions | jack_options_t |
typedef enum JackStatus | jack_status_t |
Enumerations | |
enum | JackPortFlags { JackPortIsInput = 0x1, JackPortIsOutput = 0x2, JackPortIsPhysical = 0x4, JackPortCanMonitor = 0x8, JackPortIsTerminal = 0x10 } |
enum | JackOptions { JackNullOption = 0x00, JackNoStartServer = 0x01, JackUseExactName = 0x02, JackServerName = 0x04, JackLoadName = 0x08, JackLoadInit = 0x10 } |
enum | JackStatus { JackFailure = 0x01, JackInvalidOption = 0x02, JackNameNotUnique = 0x04, JackServerStarted = 0x08, JackServerFailed = 0x10, JackServerError = 0x20, JackNoSuchClient = 0x40, JackLoadFailure = 0x80, JackInitFailure = 0x100, JackShmFailure = 0x200, JackVersionError = 0x400 } |
|
Used for the type argument of jack_port_register() for default audio ports. |
|
Maximum size of load_init string passed to an internal client jack_initialize() function via jack_internal_client_load(). |
|
Maximum value that can be stored in jack_nframes_t |
|
Valid options for loading an internal client. |
|
Valid options for opening an external client. |
|
jack_client_t is an opaque type. You may only access it using the API provided. |
|
For convenience, use this typedef if you want to be able to change between float and double. You may want to typedef sample_t to jack_default_audio_sample_t in your application. |
|
jack_intclient_t is an opaque type representing a loaded internal client. You may only access it using the API provided in <jack/intclient.h>. |
|
Type used to represent sample frame counts. |
|
Options for several JACK operations, formed by OR-ing together the relevant JackOptions bits. |
|
Ports have unique ids. A port registration callback is the only place you ever need to know their value. |
|
jack_port_t is an opaque type. You may only access it using the API provided. |
|
|
|
Status word returned from several JACK operations, formed by OR-ing together the relevant JackStatus bits. |
|
Type used to represent the value of free running monotonic clock with units of microseconds. |
|
Prototype for the bufsize_callback that is invoked whenever the JACK engine buffer size changes. Although this function is called in the JACK process thread, the normal process cycle is suspended during its operation, causing a gap in the audio flow. So, the bufsize_callback can allocate storage, touch memory not previously referenced, and perform other operations that are not realtime safe.
|
|
Prototype for the client supplied function that is called whenever jackd starts or stops freewheeling.
|
|
Prototype for the client supplied function that is called whenever the processing graph is reordered.
|
|
Prototype for the client supplied function that is called whenever a port is registered or unregistered.
|
|
Prototype for the client supplied function that is called by the engine anytime there is work to be done.
|
|
Prototype for the client supplied function that is called when the engine sample rate changes.
|
|
Prototype for the client supplied function that is called once after the creation of the thread in which other callbacks will be made. Special thread characteristics can be set from this callback, for example. This is a highly specialized callback and most clients will not and should not use it.
|
|
Prototype for the client-supplied function that is called whenever an xrun has occured.
|
|
jack_options_t bits
|
|
A port has a set of flags that are formed by AND-ing together the desired values from the list below. The flags "JackPortIsInput" and "JackPortIsOutput" are mutually exclusive and it is an error to use them both.
|
|
jack_status_t bits
|