Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

clSoundMsg Class Reference

Sound server communication. More...

#include <Messages.hh>

Inheritance diagram for clSoundMsg:

Inheritance graph
[legend]
Collaboration diagram for clSoundMsg:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void SetStart (char *, const stpSoundStart)
 Start message from server.

void GetStart (const char *, stpSoundStart)
void SetData (void *, const struct timeval *, const float *, int)
 Datastream from server.

void SetData (void *, const struct timeval *, const double *, int)
void SetData (void *, const float *, int)
void SetData (void *, const double *, int)
int GetData (const void *, struct timeval *, float *)
int GetData (const void *, struct timeval *, double *)
void GetData (const void *, float *, int)
void GetData (const void *, double *, int)

Detailed Description

Sound server communication.

Definition at line 455 of file Messages.hh.


Member Function Documentation

void clSoundMsg::SetStart char *  ,
const  stpSoundStart
 

Start message from server.

Parameters:
cpMsgBuf Message buffer
stpSoundStart Message

Definition at line 79 of file Messages.cc.

References _stSoundStart::dSampleRate, GLOBAL_HEADER_LEN, _stSoundStart::iChannels, _stSoundStart::iCompress, and _stSoundStart::iFragmentSize.

Referenced by clSoundSrv::ServeClientExec(), clSoundSrvA::ServeClientThread(), clSoundSrv2::ServeClientThread(), clFileSrv::ServeClientThread(), clComediSrv::ServeClientThread(), clBeamSrv2Master::ServeClientThread(), and clBeamSrvMaster::ServeClientThread().

void clSoundMsg::GetStart const char *  ,
stpSoundStart 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 97 of file Messages.cc.

References _stSoundStart::dSampleRate, _stSoundStart::iChannels, _stSoundStart::iCompress, and _stSoundStart::iFragmentSize.

Referenced by clStreamDist::AudioInThread(), main(), and clSoundUI::SoundInThread().

void clSoundMsg::SetData void *  ,
const struct timeval *  ,
const float *  ,
int 
 

Datastream from server.

Parameters:
vpMsgBuf Message buffer
spTimeStamp Time stamp
fpData Data
iDataLen Data length

Definition at line 107 of file Messages.cc.

References clBaseMsg::EndianConv(), and GLOBAL_HEADER_LEN.

Referenced by clSoundSrvA::AudioInThread(), clSoundSrv2::AudioInThread(), clComediSrv::AudioInThread(), clSoundSrv::InputExec(), clFileSrv::ServeClientThread(), clBeamSrv2Master::ServeClientThread(), and clBeamSrvMaster::ServeClientThread().

void clSoundMsg::SetData void *  ,
const struct timeval *  ,
const double *  ,
int 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 128 of file Messages.cc.

References clBaseMsg::EndianConv(), and GLOBAL_HEADER_LEN.

void clSoundMsg::SetData void *  ,
const float *  ,
int 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 149 of file Messages.cc.

References clBaseMsg::EndianConv().

void clSoundMsg::SetData void *  ,
const double *  ,
int 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 161 of file Messages.cc.

References clBaseMsg::EndianConv().

int clSoundMsg::GetData const void *  ,
struct timeval *  ,
float * 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 173 of file Messages.cc.

References clBaseMsg::EndianConv(), and GLOBAL_HEADER_LEN.

Referenced by clStreamDist::AudioInThread(), main(), and clSoundUI::SoundInThread().

int clSoundMsg::GetData const void *  ,
struct timeval *  ,
double * 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 196 of file Messages.cc.

References clBaseMsg::EndianConv(), and GLOBAL_HEADER_LEN.

void clSoundMsg::GetData const void *  ,
float *  ,
int 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 219 of file Messages.cc.

References clBaseMsg::EndianConv().

void clSoundMsg::GetData const void *  ,
double *  ,
int 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 231 of file Messages.cc.

References clBaseMsg::EndianConv().


The documentation for this class was generated from the following files:
Generated on Sun Oct 26 19:12:23 2003 for HASAS by doxygen 1.3.3