MCPcopy Create free account
hub / github.com/axmolengine/axmol / read

Method read

core/audio/AudioDecoderWav.cpp:249–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247}
248
249uint32_t AudioDecoderWav::read(uint32_t framesToRead, char* pcmBuf)
250{
251 auto bytesToRead = framesToBytes(framesToRead);
252 int32_t bytesRead = wav_read(&_wavf, pcmBuf, bytesToRead);
253 return bytesToFrames(bytesRead);
254}
255
256bool AudioDecoderWav::seek(uint32_t frameOffset)
257{

Callers 3

wav_scan_chunkFunction · 0.45
wav_openFunction · 0.45
wav_readFunction · 0.45

Calls 1

wav_readFunction · 0.85

Tested by

no test coverage detected