#include <WavParser.h>
Inherits Audio::AudioFileParser.
Type of AudioFileParser for Wav File Format. Parses header information from Wav files and stores it for retrieval.
◆ GetBitsPerSample()
AZ_INLINE AZ::u32 Audio::WavFileParser::GetBitsPerSample |
( |
| ) |
const |
|
overridevirtual |
◆ GetByteRate()
AZ_INLINE AZ::u32 Audio::WavFileParser::GetByteRate |
( |
| ) |
const |
|
overridevirtual |
◆ GetDataSize()
AZ_INLINE AZ::u32 Audio::WavFileParser::GetDataSize |
( |
| ) |
const |
|
overridevirtual |
◆ GetNumChannels()
AZ_INLINE AZ::u32 Audio::WavFileParser::GetNumChannels |
( |
| ) |
const |
|
overridevirtual |
◆ GetSampleRate()
AZ_INLINE AZ::u32 Audio::WavFileParser::GetSampleRate |
( |
| ) |
const |
|
overridevirtual |
◆ GetSampleType()
AudioInputSampleType Audio::WavFileParser::GetSampleType |
( |
| ) |
const |
|
overridevirtual |
◆ IsHeaderValid()
AZ_INLINE bool Audio::WavFileParser::IsHeaderValid |
( |
| ) |
const |
|
overridevirtual |
Check validity of the header info. This should only return true if the header was parsed and user can expect to see valid format data.
- Returns
- True if the header was parsed without error.
Implements Audio::AudioFileParser.
◆ ParseHeader()
size_t Audio::WavFileParser::ParseHeader |
( |
AZ::IO::FileIOStream & |
fileStream | ) |
|
|
overridevirtual |
Parse header from a file stream. Parses header of an audio file and returns the byte-offset into the file where the audio data begins.
- Parameters
-
fileStream | An opened file stream on the audio file. |
- Returns
- Byte-offset into the file where audio data begins.
Implements Audio::AudioFileParser.
The documentation for this class was generated from the following file:
- Gems/AudioEngineWwise/Code/Source/Engine/AudioInput/WavParser.h