Commit 5176f93d authored by schreibfaul1's avatar schreibfaul1

wrong mp3 sample rate #406

parent f9d8feb7
...@@ -4550,7 +4550,7 @@ int Audio::sendBytes(uint8_t* data, size_t len) { ...@@ -4550,7 +4550,7 @@ int Audio::sendBytes(uint8_t* data, size_t len) {
} }
break; break;
} }
if(f_setDecodeParamsOnce) { if(f_setDecodeParamsOnce && m_validSamples) {
f_setDecodeParamsOnce = false; f_setDecodeParamsOnce = false;
setDecoderItems(); setDecoderItems();
m_PlayingStartTime = millis(); m_PlayingStartTime = millis();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment