| 247 | } |
| 248 | |
| 249 | uint32_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 | |
| 256 | bool AudioDecoderWav::seek(uint32_t frameOffset) |
| 257 | { |
no test coverage detected