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 70a1311 commit a533eb8Copy full SHA for a533eb8
src/Audio.cpp
@@ -2978,7 +2978,9 @@ void Audio::processWebFile() {
2978
2979
// we have a webfile, read the file header first - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2980
if(m_controlCounter != 100){
2981
- InBuff.bytesWasRead(readAudioHeader(availableBytes));
+ if(InBuff.bufferFilled() > maxFrameSize){ // read the file header first
2982
+ InBuff.bytesWasRead(readAudioHeader(InBuff.bufferFilled()));
2983
+ }
2984
return;
2985
}
2986
0 commit comments