JackUtils 0.5
Provides simplified Jack API for clients :)
Loading...
Searching...
No Matches
Data Fields
ju_ctx_s Struct Reference

Internal JackUtils context structure. More...

#include <ju_bits_ctx.h>

Data Fields

jack_client_t * client
 JACK client.
 
jack_port_t * close
 JACK close port :D, created if connection to the session manager fails.
 
mtx_t mutex
 this mutex is locked while Jack Audio Process callback is running :)
 
mtx_t works
 This mutex is locked since ju_start called and until ju_stop is not called, or jack server/session manager is not stopped/crashed.
 
mtx_t mdata
 mutex for samplerate, sample buffers length and etc.
 
ju_process_func_t proc_cb
 Jack Audio Processing User Callback :)
 
size_t length
 protected with mutex mdata
 
size_t samplerate
 protected with mutex mdata
 
ju_uint8_t connected_ports_cnt
 protected with mutex mdata
 
ju_uint8_t last_port
 protected with mutex mdata
 
ju_port_t ports [JU_MAX_PORTS+1]
 protected with mutex mdata
 
void * osc
 protected with mutex mdata. More...
 
char * session_path
 protected with mutex mdata. More...
 
int gui_showed
 protected with mutex mdata. More...
 
int gui_supported
 protected with mutex mdata. More...
 
ju_save_cb onsave
 save callback and user data for it
 
void * onsave_ud
 
char * tmp
 I... Don't remember what the shit is this :D, but it protected with mdata mutex...
 

Detailed Description

Internal JackUtils context structure.

DO NOT USE THIS IN YOUR PROGRAMS!

Field Documentation

◆ gui_showed

int ju_ctx_s::gui_showed

protected with mutex mdata.

Cache for session manager event GUI turn on/off

◆ gui_supported

int ju_ctx_s::gui_supported

protected with mutex mdata.

Cache for session manager GUI extension

◆ osc

void* ju_ctx_s::osc

protected with mutex mdata.

Session managment context

◆ session_path

char* ju_ctx_s::session_path

protected with mutex mdata.

Session path string. malloc()'d!


The documentation for this struct was generated from the following file: