gtkIOStream  1.7.0
GTK+ << C++ IOStream operators for GTK+. Now with ORBing, numerical computation, audio client and more ...
TestJackClient Class Reference
Inheritance diagram for TestJackClient:
[legend]
Collaboration diagram for TestJackClient:
[legend]

Private Member Functions

int processAudio (jack_nframes_t nframes)
 

Additional Inherited Members

- Public Member Functions inherited from JackClient
 JackClient (void)
 
 JackClient (string clientName_)
 
virtual ~JackClient ()
 Destructor. More...
 
virtual int connect (string clientName_)
 
virtual int connect (const string &clientName_, const string &serverName)
 
virtual int getBlockSize ()
 
int setBlockSize (int size)
 
virtual int startClient ()
 
virtual int startClient (int inCnt, int outCnt, bool doConnect=true)
 
- Public Member Functions inherited from JackBase
 JackBase ()
 
 JackBase (string clientName_)
 
 JackBase (string clientName_, string serverName)
 
virtual ~JackBase ()
 Destructor. More...
 
virtual int stopClient (void)
 
virtual int disconnect (void)
 
int getSampleRate (void) const
 
virtual int createPorts (string inName, int inCnt, string outName, int outCnt)
 
virtual int destroyPorts ()
 
void getPhysicalPorts (vector< jack_port_t *> &inPorts, vector< jack_port_t *> &outPorts)
 
void getPhysicalPortCount (int &in, int &out)
 
bool connected ()
 
virtual void print (ostream &os)
 
string getClientName ()
 
virtual void setClientName (string cn)
 
string portNameFromPort (jack_port_id_t p)
 
string portNameFromPort (jack_port_t *p)
 
string clientNameFromPort (jack_port_id_t p)
 
string clientNameFromPort (jack_port_t *p)
 
string clientNameFromPortName (string fullPortName)
 
string clientNameFromPortNames (string fullPortName, string shortPortName)
 
string shortPortNameFromPortName (const string fullPortName)
 
bool operator== (const string &cn)
 
int getInputPortSize ()
 
jack_port_t * getInputPort (int i)
 
jack_port_t * getOutputPort (int i)
 
void addInputPort (jack_port_t *inP)
 
void addOutputPort (jack_port_t *outP)
 
int populatInOutPorts (const string &inName, vector< string > &inPorts, const string &outName, vector< string > &outPorts)
 
int connectPorts (const string inName, const string outName)
 
virtual int disconnectPorts (const string &inName, const string &outName)
 
void setClient (jack_client_t *c)
 
- Public Attributes inherited from JackBase
bool connect1To1
 When true, then connections are made in a 1 to 1 manner. When False, then connections are made in an all to all manner. More...
 
- Protected Member Functions inherited from JackClient
virtual int bufferSizeChange (jack_nframes_t nframes)
 
- Protected Member Functions inherited from JackBase
virtual void determineLatencies ()
 
int getPortListAndCount (JackPortFlags flags, vector< jack_port_t *> *ports, const char *portNamePattern, const char *typeNamePattern)
 
int getPortListAndCount (JackPortFlags flags, vector< string > *ports, const char *portNamePattern, const char *typeNamePattern)
 
virtual void reSyncPorts (void)
 
virtual void reSyncConnections (void)
 
- Protected Attributes inherited from JackBase
jack_client_t * client
 The jack client. More...
 
string clientName
 The name of this client. More...
 
jack_options_t jackOptions
 Options for jack. More...
 
jack_status_t status
 The status of jack. More...
 
int physicalInputPortCnt
 The number of physical input ports. More...
 
int physicalOutputPortCnt
 The number of physical input ports. More...
 
vector< jack_port_t * > inputPorts
 The input ports. More...
 
vector< jack_port_t * > outputPorts
 The output ports. More...
 
vector< jack_nframes_t > inputLatencies
 The input latencies, one for each port. More...
 
vector< jack_nframes_t > outputLatencies
 The output latencies, one for each port. More...
 

Detailed Description

This jack client will output 0xff on each channel for each sample.

Examples:
JackClientTest.C.

Definition at line 54 of file I2SEndianTest.C.

Member Function Documentation

◆ processAudio()

int TestJackClient::processAudio ( jack_nframes_t  nframes)
inlineprivatevirtual

The Jack client callback - to be implemented by your inheriting class

Parameters
nframesThe number of frames to process.
Returns
0 to keep processing, a different number on error.

< The Jack client callback

Implements JackClient.

Definition at line 55 of file I2SEndianTest.C.


The documentation for this class was generated from the following file:
gtkIOStream: TestJackClient Class Reference
GTK+ IOStream  Beta