Scan MP3 for header, avoid multiple burst errors (#764)

MP3 comes in chunks of encoded data started by a header sequence.
Scan for it in the decoder and only pass in data that starts with
this header to avoid the burst errors

Avoids a avalanche of `lost synchronization` error reports when there
is a file error.

Also enable additional sketches on the RP2040/RP2350
This commit is contained in:
Earle F. Philhower, III authored and GitHub committed 2025-10-07 23:22:54 -07:00
1 parent ae685b19e9
commit 39188b81d6
17 files changed
+126 -113

No files matched your search

+14
View File
@@ -101,7 +101,21 @@ EOL
echo $(( 1 - $? ))
}
# ESP8266 CI infra
function skip_sketch()
{
local sketch=$1
local sketchname=$2
local sketchdir=$3
local sketchdirname=$4
if [[ "${sketchdirname}.ino" != "$sketchname" ]]; then
echo "Skipping $sketch (not the main sketch file)"
fi
if skip_ino "$sketch" || [[ -f "$sketchdir/.test.skip" ]]; then
echo "Skipping $sketch"
fi
}
if [ "$BUILD_MOD" == "" ]; then
export BUILD_MOD=1