Skip to content

Commit

Permalink
Can't play chaosradio.de mp3 URL #480
Browse files Browse the repository at this point in the history
  • Loading branch information
schreibfaul1 authored Feb 9, 2023
1 parent ea28787 commit 46faf11
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Audio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2955,7 +2955,9 @@ void Audio::processWebFile() {

// we have a webfile, read the file header first - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if(m_controlCounter != 100){
InBuff.bytesWasRead(readAudioHeader(availableBytes));
if(InBuff.bufferFilled() > maxFrameSize){ // read the file header first
InBuff.bytesWasRead(readAudioHeader(InBuff.bufferFilled())); // #480
}
return;
}

Expand Down

0 comments on commit 46faf11

Please sign in to comment.