class
#include <nCine/Audio/AudioReaderOgg.h>
AudioReaderOgg Ogg Vorbis audio reader using libvorbis
library.
Base classes
- class IAudioReader
- Audio reader interface.
Constructors, destructors, conversion operators
-
AudioReaderOgg(std::
unique_ptr<Death:: IO:: Stream> fileHandle, const OggVorbis_File& oggFile) - ~AudioReaderOgg() override
Public functions
Function documentation
unsigned long int nCine:: AudioReaderOgg:: 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 |