RTP Audio System  2.0.0
audioquality.cc File Reference
#include "tdsystem.h"
#include "audioquality.h"
#include "randomizer.h"

Functions

std::ostream & operator<< (std::ostream &os, const AudioQualityInterface &quality)
AudioQuality operator+ (const AudioQualityInterface &q1, const AudioQualityInterface &q2)
AudioQuality operator- (const AudioQualityInterface &q1, const AudioQualityInterface &q2)
AudioQuality operator- (const AudioQualityInterface &q1, const cardinal bytesPerSecond)

Variables

static const card16 _ValidRatesTable []
static const card8 _ValidBitsTable []
static const card8 _ValidChannelsTable []

Function Documentation

AudioQuality operator+ ( const AudioQualityInterface q1,
const AudioQualityInterface q2 
)

Implementation of + operator.

AudioQuality operator- ( const AudioQualityInterface q1,
const AudioQualityInterface q2 
)

Implementation of - operator.

AudioQuality operator- ( const AudioQualityInterface q1,
const cardinal  bytesPerSecond 
)

Implementation of - operator. Limits resulting audio quality by a given byte rate.

std::ostream& operator<< ( std::ostream &  out,
const AudioQualityInterface quality 
)

Implementation of << operator.


Variable Documentation

const card8 _ValidBitsTable[] [static]
Initial value:
 {
   4, 8, 12, 16
}
const card8 _ValidChannelsTable[] [static]
Initial value:
 {
   1, 2
}
const card16 _ValidRatesTable[] [static]
Initial value:
 {
   4410,   6615,  8820, 11025,
   13230, 15435, 17640, 19845,
   22050, 24255, 26460, 28665,
   30870, 33075, 35280, 37485,
   39690, 41895, 44100
}
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines