RTP Audio System  2.0.0
AdjustableAudioQualityInterface Class Reference

Adjustable Audio Quality Interface. More...

#include <audioqualityinterface.h>

Inheritance diagram for AdjustableAudioQualityInterface:
AudioQualityInterface AudioClient AudioEncoderInterface AudioQuality AudioWriterInterface AdvancedAudioEncoder AudioEncoderRepository SimpleAudioEncoder AdvancedAudioEncoder AudioNull MP3AudioReader MultiAudioReader SimpleAudioEncoder WavAudioReader AudioDebug AudioDevice AudioNull MultiAudioWriter SpectrumAnalyzer

List of all members.

Public Member Functions

virtual card16 setSamplingRate (const card16 samplingRate)=0
virtual card8 setBits (const card8 bits)=0
virtual card8 setChannels (const card8 channels)=0
virtual card16 setByteOrder (const card16 byteOrder)=0
void setQuality (const AudioQualityInterface &quality)

Detailed Description

Adjustable Audio Quality Interface.

This class is an interface for getting and setting audio quality. It extends AudioQualityInterface with setting functions.

Author:
Thomas Dreibholz
Version:
1.0

Member Function Documentation

virtual card8 AdjustableAudioQualityInterface::setBits ( const card8  bits) [pure virtual]

Set number of bits.

Parameters:
samplingRateNew number of bits.
Returns:
New number of bits.

Implemented in AudioClient, AudioEncoderRepository, AudioDevice, AudioQuality, MultiAudioWriter, SpectrumAnalyzer, and AudioDebug.

virtual card16 AdjustableAudioQualityInterface::setByteOrder ( const card16  byteOrder) [pure virtual]

Set byte order.

Parameters:
byteOrderNew byte order: BIG_ENDIAN, LITTLE_ENDIAN.
Returns:
New byte order.

Implemented in AudioClient, AudioEncoderRepository, AudioDevice, AudioQuality, MultiAudioWriter, SpectrumAnalyzer, and AudioDebug.

virtual card8 AdjustableAudioQualityInterface::setChannels ( const card8  channels) [pure virtual]

Set number of channels.

Parameters:
samplingRateNew number of channels.
Returns:
New number of channels.

Implemented in AudioClient, AudioEncoderRepository, AudioDevice, AudioQuality, MultiAudioWriter, SpectrumAnalyzer, and AudioDebug.

Set quality from AudioQualityInterface.

Parameters:
qualityAudioQualityInterface.
virtual card16 AdjustableAudioQualityInterface::setSamplingRate ( const card16  samplingRate) [pure virtual]

Set sampling rate.

Parameters:
samplingRateNew sampling rate.
Returns:
New sampling rate.

Implemented in AudioClient, AudioEncoderRepository, AudioDevice, AudioQuality, MultiAudioWriter, SpectrumAnalyzer, and AudioDebug.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines