libsdl-org / SDL_mixer

An audio mixer that supports various file formats for Simple Directmedia Layer.
zlib License
433 stars 146 forks source link

[SDL2] Fixed detection of FLAC files with ID3 tag at begin #526

Closed Wohlstand closed 1 year ago

Wohlstand commented 1 year ago

Recently I found that some FLAC files won't play at all. I had checked, and I found it begins with an ID3 tag. Also, I checked around the stuff, and it's not a paranomrmal mess of Audacity: it's one of legacy forms of FLAC files that used ID3 tags at begin.

There is a comment where I explained about this a first time: https://github.com/WohlSoft/SDL-Mixer-X/commit/94e87503c80cc0311dfedb370e21d25573492e33

Example file (I exported it in 2019'th year by the old version of Audacity): Fox fantasy.mid-battle-chess-gmized.flac.zip

sezero commented 1 year ago

Wait for https://github.com/libsdl-org/SDL_mixer/pull/527 to be reviewed / merged, first.

Wohlstand commented 1 year ago

I'll completely remake THIS after SDL3 version will get it's final variant and gets merged.