Inheritance diagram for Exponent::Audio::TAudioFile< TypeName >:

Definition at line 34 of file TAudioFile.hpp.
| Exponent::Audio::TAudioFile< TypeName >::TAudioFile | ( | ) | [inline] |
| virtual Exponent::Audio::TAudioFile< TypeName >::~TAudioFile | ( | ) | [inline, virtual] |
| const TAudioBuffer<TypeName>* Exponent::Audio::TAudioFile< TypeName >::getAudioBuffer | ( | ) | const [inline] |
Get the audio buffer
| const | TAudioBuffer<TypeName>* The audio buffer |
Definition at line 68 of file TAudioFile.hpp.
References Exponent::Audio::TAudioFile< TypeName >::m_audioBuffer.
| TAudioBuffer<TypeName>* Exponent::Audio::TAudioFile< TypeName >::getMutableAudioBuffer | ( | ) | [inline] |
Get the audio buffer
| TAudioBuffer<TypeName>* | The audio buffer |
Definition at line 74 of file TAudioFile.hpp.
References Exponent::Audio::TAudioFile< TypeName >::m_audioBuffer.
| bool Exponent::Audio::TAudioFile< TypeName >::readFile | ( | const CSystemString & | filename | ) | [inline] |
Read the file
| filename | The name of the file |
| bool | True if loaded properly, false otherwise |
Definition at line 83 of file TAudioFile.hpp.
References Exponent::Audio::TAiffFileFormat< TypeName >::isValidFormat(), Exponent::Audio::TWaveFileFormat< TypeName >::isValidFormat(), Exponent::Audio::TAudioFile< TypeName >::m_audioBuffer, Exponent::Audio::TAiffFileFormat< TypeName >::openFile(), Exponent::Audio::TWaveFileFormat< TypeName >::openFile(), Exponent::Audio::TAiffFileFormat< TypeName >::readData(), Exponent::Audio::TWaveFileFormat< TypeName >::readData(), Exponent::Audio::TAiffFileFormat< TypeName >::readHeader(), and Exponent::Audio::TWaveFileFormat< TypeName >::readHeader().
| bool Exponent::Audio::TAudioFile< TypeName >::writeFile | ( | const CSystemString & | filename, | |
| const unsigned long | bitDepth, | |||
| const unsigned long | sampleRate, | |||
| TAudioBuffer< TypeName > & | buffer | |||
| ) | [inline] |
Write the file
| filename | The name of the file to write | |
| bitDepth | 8/16/24 | |
| sampleRate | The sample rate to write at | |
| buffer | The buffer to write |
| bool | True if written properly, false otherwise |
Definition at line 164 of file TAudioFile.hpp.
References Exponent::Audio::TAudioBuffer< TypeName >::getNumberOfChannels(), Exponent::Audio::TAudioBuffer< TypeName >::getNumberOfSamples(), Exponent::Audio::TWaveFileFormat< TypeName >::m_bitDepth, Exponent::Audio::TWaveFileFormat< TypeName >::openFile(), Exponent::Audio::TWaveFileFormat< TypeName >::writeData(), and Exponent::Audio::TWaveFileFormat< TypeName >::writeHeader().
| bool Exponent::Audio::TAudioFile< TypeName >::writeFile | ( | const CSystemString & | filename, | |
| const unsigned long | bitDepth, | |||
| const unsigned long | sampleRate | |||
| ) | [inline] |
Write the file
| filename | The name of the file to write | |
| bitDepth | 8/16/24 | |
| sampleRate | The sample rate to write at |
| bool | True if written properly, false otherwise |
Definition at line 150 of file TAudioFile.hpp.
References Exponent::Audio::TAudioFile< TypeName >::m_audioBuffer.
TAudioBuffer<TypeName> Exponent::Audio::TAudioFile< TypeName >::m_audioBuffer [protected] |
The audio buffer that we write to
Definition at line 207 of file TAudioFile.hpp.
Referenced by Exponent::Audio::TAudioFile< TypeName >::getAudioBuffer(), Exponent::Audio::TAudioFile< TypeName >::getMutableAudioBuffer(), Exponent::Audio::TAudioFile< TypeName >::readFile(), and Exponent::Audio::TAudioFile< TypeName >::writeFile().