Logo Search packages:      
Sourcecode: jackd2 version File versions  Download package

Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | Private Member Functions | Private Attributes

Jack::JackNetDriver Class Reference

#include <JackNetDriver.h>

Inheritance diagram for Jack::JackNetDriver:
Inheritance graph
Collaboration diagram for Jack::JackNetDriver:
Collaboration graph

List of all members.

Public Member Functions

void AddSlave (JackDriverInterface *slave)
int Attach ()
virtual int ClientNotify (int refnum, const char *name, int notify, int sync, const char *message, int value1, int value2)
int Close ()
int Detach ()
virtual JackClientControlGetClientControl () const
bool GetMaster ()
std::list< JackDriverInterface * > GetSlaves ()
bool IsFixedBufferSize ()
virtual bool IsRealTime () const
 JackNetDriver (const char *name, const char *alias, JackLockedEngine *engine, JackSynchro *table, const char *ip, int port, int mtu, int midi_input_ports, int midi_output_ports, char *net_name, uint transport_sync, char network_master_mode)
virtual int Open (bool capturing, bool playing, int inchannels, int outchannels, bool monitor, const char *capture_driver_name, const char *playback_driver_name, jack_nframes_t capture_latency, jack_nframes_t playback_latency)
virtual int Open ()
int Open (jack_nframes_t frames_per_cycle, jack_nframes_t rate, bool capturing, bool playing, int inchannels, int outchannels, bool monitor, const char *capture_driver_name, const char *playback_driver_name, jack_nframes_t capture_latency, jack_nframes_t playback_latency)
virtual int Process ()
virtual int ProcessNull ()
int ProcessSlaves ()
int Read ()
void RemoveSlave (JackDriverInterface *slave)
int SetBufferSize (jack_nframes_t buffer_size)
void SetMaster (bool onoff)
int SetSampleRate (jack_nframes_t sample_rate)
virtual int Start ()
virtual int Stop ()
int Write ()

Protected Member Functions

void CycleIncTime ()
void CycleTakeBeginTime ()
void CycleTakeEndTime ()
int DataRecv ()
int DataSend ()
void DecodeSyncPacket ()
void EncodeSyncPacket ()
jack_default_audio_sample_t * GetInputBuffer (int port_index)
jack_default_audio_sample_t * GetMonitorBuffer (int port_index)
int GetNMidiPckt ()
jack_default_audio_sample_t * GetOutputBuffer (int port_index)
bool Init ()
bool InitConnection ()
bool InitRendering ()
bool IsNextPacket ()
void NotifyBufferSize (jack_nframes_t buffer_size)
void NotifyFailure (int code, const char *reason)
void NotifySampleRate (jack_nframes_t sample_rate)
void NotifyXRun (jack_time_t callback_usecs, float delayed_usecs)
virtual int ProcessAsync ()
void ProcessGraphAsync ()
void ProcessGraphSync ()
virtual int ProcessSync ()
int Recv (size_t size, int flags)
int Send (size_t size, int flags)
net_status_t SendAvailableToMaster ()
net_status_t SendStartToMaster ()
void SetFramesPerPacket ()
int SetNetBufferSize ()
void SetParams ()
void SetupDriverSync (int ref, bool freewheel)
int SyncRecv ()
int SyncSend ()
void WaitUntilNextCycle ()

Protected Attributes

char fAliasName [JACK_CLIENT_NAME_SIZE+1]
int fAudioRxLen
int fAudioTxLen
jack_time_t fBeginDateUst
int fCaptureChannels
char fCaptureDriverName [JACK_CLIENT_NAME_SIZE+1]
jack_nframes_t fCaptureLatency
jack_port_id_t fCapturePortList [DRIVER_PORT_NUM]
JackClientControl fClientControl
float fDelayedUsecs
jack_time_t fEndDateUst
bool fIsMaster
jack_port_id_t fMonitorPortList [DRIVER_PORT_NUM]
char fMulticastIP [32]
uint fNSubProcess
session_params_t fParams
int fPayloadSize
int fPlaybackChannels
char fPlaybackDriverName [JACK_CLIENT_NAME_SIZE+1]
jack_nframes_t fPlaybackLatency
jack_port_id_t fPlaybackPortList [DRIVER_PORT_NUM]
net_transport_data_t fReturnTransportData
char * fRxBuffer
char * fRxData
packet_header_t fRxHeader
net_transport_data_t fSendTransportData
std::list< JackDriverInterface * > fSlaveList
JackNetSocket fSocket
char * fTxBuffer
char * fTxData
packet_header_t fTxHeader
bool fWithMonitorPorts

Static Protected Attributes

static uint fSlaveCounter = 0

Private Member Functions

int AllocPorts ()
void DecodeTransportData ()
void EncodeTransportData ()
void FreeAll ()
int FreePorts ()
JackMidiBufferGetMidiInputBuffer (int port_index)
JackMidiBufferGetMidiOutputBuffer (int port_index)
bool Initialize ()

Private Attributes

int fLastTimebaseMaster
int fLastTransportState
jack_port_id_t * fMidiCapturePortList
jack_port_id_t * fMidiPlaybackPortList

Detailed Description

This class describes the Net Backend

Definition at line 37 of file JackNetDriver.h.

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

Generated by  Doxygen 1.6.0   Back to index