Jack2 1.9.6
Public Member Functions | Static Public Member Functions

Jack::JackGraphManager Class Reference

Graph manager: contains the connection manager and the port array. More...

#include <JackGraphManager.h>

Inheritance diagram for Jack::JackGraphManager:
Jack::JackShmMem Jack::JackAtomicState< JackConnectionManager > Jack::JackShmMemAble

List of all members.

Public Member Functions

 JackGraphManager (int port_max)
void SetBufferSize (jack_nframes_t buffer_size)
jack_port_id_t AllocatePort (int refnum, const char *port_name, const char *port_type, JackPortFlags flags, jack_nframes_t buffer_size)
int ReleasePort (int refnum, jack_port_id_t port_index)
void ActivatePort (jack_port_id_t port_index)
void DeactivatePort (jack_port_id_t port_index)
void GetInputPorts (int refnum, jack_int_t *res)
void GetOutputPorts (int refnum, jack_int_t *res)
void RemoveAllPorts (int refnum)
void DisconnectAllPorts (int refnum)
JackPortGetPort (jack_port_id_t index)
jack_port_id_t GetPort (const char *name)
int ComputeTotalLatency (jack_port_id_t port_index)
int ComputeTotalLatencies ()
int RequestMonitor (jack_port_id_t port_index, bool onoff)
int Connect (jack_port_id_t src_index, jack_port_id_t dst_index)
int Disconnect (jack_port_id_t src_index, jack_port_id_t dst_index)
int IsConnected (jack_port_id_t port_src, jack_port_id_t port_dst)
int GetConnectionsNum (jack_port_id_t port_index)
const char ** GetConnections (jack_port_id_t port_index)
void GetConnections (jack_port_id_t port_index, jack_int_t *connections)
const char ** GetPorts (const char *port_name_pattern, const char *type_name_pattern, unsigned long flags)
int GetTwoPorts (const char *src, const char *dst, jack_port_id_t *src_index, jack_port_id_t *dst_index)
int CheckPorts (jack_port_id_t port_src, jack_port_id_t port_dst)
void DisconnectAllInput (jack_port_id_t port_index)
void DisconnectAllOutput (jack_port_id_t port_index)
int DisconnectAll (jack_port_id_t port_index)
bool IsDirectConnection (int ref1, int ref2)
void DirectConnect (int ref1, int ref2)
void DirectDisconnect (int ref1, int ref2)
void Activate (int refnum)
void Deactivate (int refnum)
int GetInputRefNum (jack_port_id_t port_index)
int GetOutputRefNum (jack_port_id_t port_index)
void * GetBuffer (jack_port_id_t port_index, jack_nframes_t frames)
void RunCurrentGraph ()
bool RunNextGraph ()
bool IsFinishedGraph ()
void InitRefNum (int refnum)
int ResumeRefNum (JackClientControl *control, JackSynchro *table)
int SuspendRefNum (JackClientControl *control, JackSynchro *table, long usecs)
JackClientTimingGetClientTiming (int refnum)
void Save (JackConnectionManager *dst)
void Restore (JackConnectionManager *src)

Static Public Member Functions

static JackGraphManagerAllocate (int port_max)
static void Destroy (JackGraphManager *manager)

Detailed Description

Graph manager: contains the connection manager and the port array.

Definition at line 40 of file JackGraphManager.h.


Member Function Documentation

int Jack::JackGraphManager::RequestMonitor ( jack_port_id_t  port_index,
bool  onoff 
)

jackd.h If JackPortCanMonitor is set for this port, turn input monitoring on or off. Otherwise, do nothing.

if (!(fFlags & JackPortCanMonitor)) return -1;

Definition at line 217 of file JackGraphManager.cpp.


The documentation for this class was generated from the following files: