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 ea28787 commit 46faf11Copy full SHA for 46faf11
src/Audio.cpp
@@ -2955,7 +2955,9 @@ void Audio::processWebFile() {
2955
2956
// we have a webfile, read the file header first - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2957
if(m_controlCounter != 100){
2958
- InBuff.bytesWasRead(readAudioHeader(availableBytes));
+ if(InBuff.bufferFilled() > maxFrameSize){ // read the file header first
2959
+ InBuff.bytesWasRead(readAudioHeader(InBuff.bufferFilled())); // #480
2960
+ }
2961
return;
2962
}
2963
0 commit comments