We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce635a6 commit 040c3bdCopy full SHA for 040c3bd
src/AudioTools/AudioCodecs/CodecFloat.h
@@ -53,7 +53,7 @@ class DecoderFloat : public AudioDecoder {
53
for (int j=0;j<samples;j++){
54
buffer[j] = p_float[j]*32767;
55
}
56
- return p_print->write((uint8_t*)buffer.data(), samples*sizeof(int16_t));
+ return p_print->write((uint8_t*)buffer.data(), samples*sizeof(int16_t)) * 2;
57
58
59
virtual operator bool() override {
0 commit comments