RTP Audio System  2.0.0
MultiAudioReader Class Reference

Multi Audio Reader. More...

#include <multiaudioreader.h>

Inheritance diagram for MultiAudioReader:
AudioReaderInterface AudioQuality AudioQualityInterface AdjustableAudioQualityInterface AudioQualityInterface

List of all members.

Classes

struct  ReaderEntry

Public Member Functions

 MultiAudioReader (const char *name=NULL, const cardinal level=0)
 ~MultiAudioReader ()
bool openMedia (const char *name)
void closeMedia ()
bool ready () const
void getMediaInfo (MediaInfo &mediaInfo) const
MediaError getErrorCode () const
card64 getPosition () const
card64 getMaxPosition () const
void setPosition (card64 position)
cardinal getNextBlock (void *buffer, const cardinal blockSize)
AudioReaderInterfacegetAudioReader (const char *name, const cardinal level)

Private Attributes

AudioReaderInterfaceReader
std::multimap< const card64,
ReaderEntry
ReaderSet
std::multimap< const card64,
ReaderEntry >::iterator 
ReaderIterator
MediaError Error
card64 Position
card64 MaxPosition
cardinal Level

Detailed Description

Multi Audio Reader.

This class is a reader for multiple audio files from a list.

Author:
Thomas Dreibholz
Version:
1.0

Constructor & Destructor Documentation

MultiAudioReader::MultiAudioReader ( const char *  name = NULL,
const cardinal  level = 0 
)

Constructor.

Parameters:
nameName of AudioList file or NULL.
levelRecursion level (normally 0).

Member Function Documentation

AudioReaderInterface * MultiAudioReader::getAudioReader ( const char *  name,
const cardinal  level 
)

Get AudioReaderInterface for loading a given file.

Parameters:
nameFile name.
levelRecursion level (normally 0).
Returns:
AudioReaderInterface, if load was successfull; NULL otherwise.
void MultiAudioReader::getMediaInfo ( MediaInfo mediaInfo) const [virtual]
cardinal MultiAudioReader::getNextBlock ( void *  buffer,
const cardinal  blockSize 
) [virtual]
bool MultiAudioReader::openMedia ( const char *  name) [virtual]
bool MultiAudioReader::ready ( ) const [virtual]

Member Data Documentation

std::multimap<const card64, ReaderEntry>::iterator MultiAudioReader::ReaderIterator [private]
std::multimap<const card64, ReaderEntry> MultiAudioReader::ReaderSet [private]

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