Switch to side-by-side view
--- a/mpd2src/wavreader.cpp +++ b/mpd2src/wavreader.cpp @@ -53,7 +53,7 @@ return true; } -const unsigned char *WavReader::data(size_t packetbytes) +const unsigned char *WavReader::data(size_t packetbytes, ssize_t &nread) { if (m_index + packetbytes <= totalBytes()) { m_index += packetbytes;