class MultiAudioReader

Multi Audio Reader. More...

Full nameCoral::MultiAudioReader
Definition#include <multiaudioreader.h>
InheritsCoral::AudioQuality, Coral::AudioReaderInterface
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

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

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

Constructor.

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

MultiAudioReader ()

Destructor.

bool  openMedia (const char* name)

openMedia() implementation of AudioReaderInterface.

Reimplemented from AudioReaderInterface.

void  closeMedia ()

closeMedia() implementation of AudioReaderInterface.

Reimplemented from AudioReaderInterface.

bool  ready ()

[const]

ready() implementation of AudioReaderInterface.

Reimplemented from AudioReaderInterface.

void  getMediaInfo (MediaInfo& mediaInfo)

[const]

getMediaInfo() implementation of AudioReaderInterface.

Reimplemented from AudioReaderInterface.

MediaError  getErrorCode ()

[const]

getErrorCode() implementation of AudioReaderInterface.

Reimplemented from AudioReaderInterface.

card64  getPosition ()

[const]

getPosition() implementation of AudioReaderInterface.

Reimplemented from AudioReaderInterface.

card64  getMaxPosition ()

[const]

getMaxPosition() implementation of AudioReaderInterface.

Reimplemented from AudioReaderInterface.

void  setPosition (card64 position)

setPosition() implementation of AudioReaderInterface.

Reimplemented from AudioReaderInterface.

cardinal  getNextBlock (void* buffer, const cardinal blockSize)

getNextBlock() implementation of AudioReaderInterface.

Reimplemented from AudioReaderInterface.

AudioReaderInterface*  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.