#include <aflibWavFile.h>
Inheritance diagram for aflibWavFile::
Public Methods | |
aflibWavFile () | |
~aflibWavFile () | |
aflibStatus | afopen (const char *file, aflibConfig *cfg) |
Main API for opening a file or device in read mode. More... | |
aflibStatus | afcreate (const char *file, const aflibConfig &cfg) |
Main API for opening a file or device in write mode. More... | |
aflibStatus | afread (aflibData &data, long long position=-1) |
Main API function to read a segment of data. More... | |
aflibStatus | afwrite (aflibData &data, long long position=-1) |
Main API function to write a segment of audio data. More... | |
bool | isDataSizeSupported (aflib_data_size size) |
bool | isEndianSupported (aflib_data_endian end) |
bool | isSampleRateSupported (int &rate) |
This class will read and write audio files of the WAVE (Microsoft Waveform Audio File Format) format. This module uses the audiofile library to support WAVE. Currently it supports uncompressed PCM format and G.711 alaw and ulaw at this time.
|
|
|
|
|
Main API for opening a file or device in write mode. This function is only used for module support. For no module support the derived classes afcreate function will be called instead. For module support this function will make a call to the derived classes function. Reimplemented from aflibFile. |
|
Main API for opening a file or device in read mode. This function is only used for module support. For no modules support the derived classes afopen function will be called instead. For module support this function will make a call to the derived classes function. Reimplemented from aflibFile. |
|
Main API function to read a segment of data. This function is only used for module support. For no module support the derived classes afread function will be called instead. For module support this function will make a call to the derived classes function. Reimplemented from aflibFile. |
|
Main API function to write a segment of audio data. This function is only used for module support. For no module support the derived classes afwrite function will be called instead. For module support this function will make a call to the derived class. Reimplemented from aflibFile. |
|
Reimplemented from aflibFile. |
|
Reimplemented from aflibFile. |
|
Reimplemented from aflibFile. |