Jack2  1.9.9
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Jack::NetAudioBuffer Class Referenceabstract
Inheritance diagram for Jack::NetAudioBuffer:
Jack::NetFloatAudioBuffer Jack::NetIntAudioBuffer

Public Member Functions

 NetAudioBuffer (session_params_t *params, uint32_t nports, char *net_buffer)
 
bool GetConnected (int port_index)
 
void SetConnected (int port_index, bool state)
 
virtual size_t GetCycleSize ()=0
 
virtual float GetCycleDuration ()=0
 
virtual int GetNumPackets (int active_ports)=0
 
virtual void SetBuffer (int index, sample_t *buffer)
 
virtual sample_t * GetBuffer (int index)
 
virtual int RenderFromJackPorts ()
 
virtual void RenderToJackPorts ()
 
virtual int RenderFromNetwork (int cycle, int sub_cycle, uint32_t port_num)=0
 
virtual int RenderToNetwork (int sub_cycle, uint32_t port_num)=0
 
virtual void RenderFromNetwork (char *net_buffer, int active_port, int sub_cycle, size_t copy_size)
 
virtual void RenderToNetwork (char *net_buffer, int active_port, int sub_cycle, size_t copy_size)
 
virtual int ActivePortsToNetwork (char *net_buffer)
 
virtual void ActivePortsFromNetwork (char *net_buffer, uint32_t port_num)
 

Protected Member Functions

int CheckPacket (int cycle, int sub_cycle)
 
void NextCycle ()
 
void Cleanup ()
 

Protected Attributes

int fNPorts
 
int fLastSubCycle
 
char * fNetBuffer
 
sample_t ** fPortBuffer
 
bool * fConnectedPorts
 
jack_nframes_t fPeriodSize
 
jack_nframes_t fSubPeriodSize
 
size_t fSubPeriodBytesSize
 
float fCycleDuration
 
size_t fCycleBytesSize
 

Detailed Description

Definition at line 277 of file JackNetTool.h.


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