Skip to content

Commit

Permalink
wrong mp3 sample rate #406
Browse files Browse the repository at this point in the history
  • Loading branch information
schreibfaul1 committed May 4, 2024
1 parent f9d8feb commit 5176f93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Audio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4550,7 +4550,7 @@ int Audio::sendBytes(uint8_t* data, size_t len) {
}
break;
}
if(f_setDecodeParamsOnce) {
if(f_setDecodeParamsOnce && m_validSamples) {
f_setDecodeParamsOnce = false;
setDecoderItems();
m_PlayingStartTime = millis();
Expand Down

0 comments on commit 5176f93

Please sign in to comment.