class
#include <nCine/Audio/AudioReaderWav.h>
AudioReaderWav WAVE audio reader.
Base classes
- class IAudioReader
- Audio reader interface.
Constructors, destructors, conversion operators
-
AudioReaderWav(std::
unique_ptr<Death:: IO:: Stream> fileHandle)
Public functions
Function documentation
unsigned long int nCine:: AudioReaderWav:: read(void* buffer,
unsigned long int bufferSize) const override
Decodes audio data in a specified buffer.
Parameters | |
---|---|
buffer | Buffer pointer |
bufferSize | Buffer size in bytes |
Returns | Number of bytes read |