mackron / dr_libs

Audio decoding libraries for C/C++, each in a single source file.
Other
1.26k stars 206 forks source link

RIFX support #210

Closed rasky closed 1 year ago

rasky commented 3 years ago

I found a WAV file that dr_wav couldn't open. Inspecting it showed a RIFX header. I found references online that is identical to a standard RIFF file, but with all fields in big endian. I guess this is not currently supported by dr_wav.

It looks like this is generated by sox using the -B / --big-endian option, so it might be less obscure than I thought.

mackron commented 3 years ago

I'm happy to support this eventually. Probably won't happen in the short term, however. Will leave this one open as a feature request and get to it at some point. Thanks for the suggestion!

mackron commented 1 year ago

I've finally got around the implementing this. It's in the dev branch if you were wanting to give that a try.

Metadata is not supported.

rasky commented 1 year ago

Thanks, it works for me!