#include <cSoundObject.h>
a blob of audio/wave data loaded into memory. (on demand?) may be PCM or compressed. m_wf Use this cAVSink with cWaveFileReader or cMP3FileReader to read in audio files.
◆ get_WaveData()
virtual const void* GrayLib::cSoundObject::get_WaveData |
( |
| ) |
|
|
inlineoverridevirtual |
◆ get_WaveDataLength()
virtual size_t GrayLib::cSoundObject::get_WaveDataLength |
( |
| ) |
|
|
inlineoverridevirtual |
◆ get_WaveFormat()
virtual const cWaveFormatEx* GrayLib::cSoundObject::get_WaveFormat |
( |
| ) |
|
|
inlineoverridevirtual |
◆ isSoundLoaded()
bool GrayLib::cSoundObject::isSoundLoaded |
( |
| ) |
const |
|
inlinenoexcept |
◆ LoadSoundFile()
Load all the sound data into memory.
◆ LoadSoundMP3()
Load MP3 file. MIME_EXT_mp3
◆ LoadSoundWAV()
Load WAV file. MIME_EXT_wav
◆ OnFrame()
HRESULT GrayLib::cSoundObject::OnFrame |
( |
const cAVHeaderFrame & |
head, |
|
|
const void * |
pData, |
|
|
size_t |
nSizeData |
|
) |
| |
|
overridevirtual |
◆ OnHeaderStream()
HRESULT GrayLib::cSoundObject::OnHeaderStream |
( |
const cAVHeaderStream & |
head, |
|
|
const void * |
pForm, |
|
|
size_t |
nSizeForm |
|
) |
| |
|
overridevirtual |
◆ UnloadSoundObject()
void GrayLib::cSoundObject::UnloadSoundObject |
( |
| ) |
|
|
inline |
◆ m_Data
Read the full contents into memory as one block. PCM or compressed blocks.
◆ m_wf
The documentation for this class was generated from the following files: