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 39e1643 commit 3a5177dCopy full SHA for 3a5177d
src/AudioCodecs/DecoderFromStreaming.h
@@ -49,10 +49,12 @@ class DecoderFromStreaming : public AudioDecoder {
49
TRACED();
50
size_t result = queue.write((uint8_t *)data, byteCount);
51
// trigger processing - we leave byteCount in the buffer
52
- while(queue.available()>byteCount){
53
- p_dec->copy();
54
- delay(1);
55
- }
+ // while(queue.available()>byteCount){
+ // p_dec->copy();
+ // delay(1);
+ // }
56
+ while(p_dec->copy());
57
+
58
return result;
59
}
60
0 commit comments