legacyclonk / LegacyClonk

The LegacyClonk engine and the c4group command line tool.
https://clonkspot.org/lc-en
Other
83 stars 18 forks source link

SDL_mixer cannot play MPEG Audio files that don't start with a frame header #110

Open Fulgen301 opened 1 year ago

Fulgen301 commented 1 year ago

ClonkPartyRemake.c4s uses MPEG Audio files that start with 417 null bytes, which corresponds to an entire audio frame of null bytes. The reason for this is unknown, but they still constitute a valid MPEG Audio file since implementations are expected to search for the first occurence of a frame header, which SDL_mixer currently doesn't do.