diff --git a/src/AudioCodecs/CodecWAV.h b/src/AudioCodecs/CodecWAV.h index 20af2b478..de765617c 100644 --- a/src/AudioCodecs/CodecWAV.h +++ b/src/AudioCodecs/CodecWAV.h @@ -53,7 +53,7 @@ class WAVHeader { /// Call begin when header data is complete to parse the data bool parse() { - LOGI("WAVHeader::begin: %u", (unsigned)buffer.size()); + LOGI("WAVHeader::begin: %u", (unsigned)buffer.available()); this->data_pos = 0l; memset((void *)&headerInfo, 0, sizeof(WAVAudioInfo));