JackUtils 0.5
Provides simplified Jack API for clients :)
Loading...
Searching...
No Matches
Data Structures | Macros | Typedefs | Functions
ju_bits_ctx.h File Reference

Theese data structures are INTERNAL and MUST NOT BE USED IN PROGRAMS! More...

Go to the source code of this file.

Data Structures

struct  ju_port_s
 internal JackUtils port structure. More...
 
struct  ju_ctx_s
 Internal JackUtils context structure. More...
 

Macros

#define CLOSE_PORT_NAME   "__close"
 idk why, but i made a macro for this :p
 
#define JU_STAT   static inline
 reaability? what is this? :D
 
#define S_TO_MS(V)   (V * 1000000)
 magic :O
 
#define PORTGETS(X, I)   (X->ports[I])
 
#define PORTGETJ(X, I)   PORTGETS(X, I).port
 

Typedefs

typedef struct ju_port_s ju_port_t
 internal JackUtils port structure. More...
 

Functions

JU_STAT struct ju_port_sget_port_s (ju_ctx_t *x, int p)
 get internal port structure by the given descriptor
 
JU_STAT jack_port_t * get_port_j (ju_ctx_t *x, int p)
 get jack_port_t by the given descriptor
 
JU_STAT int is_input (ju_ctx_t *x, int p)
 check is port has JU_INPUT type by given descriptor
 

Detailed Description

Theese data structures are INTERNAL and MUST NOT BE USED IN PROGRAMS!