diff --git a/src/AudioTools/AudioCodecs/CodecFloat.h b/src/AudioTools/AudioCodecs/CodecFloat.h index 4feac33ea..9e4bf6db0 100644 --- a/src/AudioTools/AudioCodecs/CodecFloat.h +++ b/src/AudioTools/AudioCodecs/CodecFloat.h @@ -53,7 +53,7 @@ class DecoderFloat : public AudioDecoder { for (int j=0;jwrite((uint8_t*)buffer.data(), samples*sizeof(int16_t)); + return p_print->write((uint8_t*)buffer.data(), samples*sizeof(int16_t)) * 2; } virtual operator bool() override {