BR: AudioFormatManager fails on Windows with 64 bit files

I came across an odd bug reading in Wav files using AudioFormatManager::createReaderFor(). For whatever reason, I have several .wav files that report a bit depth of 32 float, but source format of 64 bit floating point. Adobe Audition, Quicktime and several other apps have no problem opening the files, and JUCE reads them on Mac, but they fail on Windows. On Mac, it looks like the WavAudioFormat reader fails, but CoreAudioFormat opens them. I’m guessing that this format may not be very common, but again, quite a few other apps open them just fine.

1 Like

+1 this is overdue

See this old feature request

“Works on my machine”: Commits · jrlanglois/JUCE · GitHub

4 Likes

So the only question is, do you grant anyone to cherry-pick it / use your code without any strings attached? :slight_smile:

Absolutely. Do with it what you will!

I’ll see if I can patch it up against the latest develop: I vaguely recall changes happening against the FLAC audio format reader stuff.

Edit: The changes are rebased against develop except on a new branch because I don’t have the time/capacity to test it. Pick it apart to your liking: Commits · jrlanglois/JUCE · GitHub

2 Likes