Main Page | Class Hierarchy | Class List | File List | Class Members

AudioDelay Class Reference

#include <udpsound.h>

List of all members.

Public Member Functions

 AudioDelay ()
 ~AudioDelay ()
BOOL Delay (int time)
void Restart ()
int GetError ()

Protected Attributes

PTime previousTime
BOOL firstTime
int error


Detailed Description

have a delay class which (over sucessive iterations) gives an average delay time close to the required value. It simulates the delay on reading/writing from/to the audio device.


Constructor & Destructor Documentation

AudioDelay::AudioDelay  ) 
 

Constructory

AudioDelay::~AudioDelay  ) 
 

Destructor


Member Function Documentation

BOOL AudioDelay::Delay int  time  ) 
 

Delay for this many milliseconds

int AudioDelay::GetError  ) 
 

Report the discrepency between required delay time and actual time

void AudioDelay::Restart  ) 
 

Restart the iterative counts


Member Data Documentation

int AudioDelay::error [protected]
 

discrepency between required delay time and actual time

BOOL AudioDelay::firstTime [protected]
 

Has this class ever run before

PTime AudioDelay::previousTime [protected]
 

Time at which this class was previously called


The documentation for this class was generated from the following files:
Generated on Sun Jan 29 19:49:09 2006 for SSVoip, which is Sofa Switch Voip by  doxygen 1.4.4