It seems that Adobe After Effect take some liberty with the wav file format.
The Juce git version a983bb1300e6ade0e475d163dc035aa61cde28a2 (31 Aug 2009 160852)
can parse Adobe After Effect wav. Avcodec, avformat, VLC mediaplayer can parse them too, but the current Juce git trunk cannot.
When I save a simple uncompressed PCM S16 (araw) 48000khz 16bit wav file,
The header in hexadecimal editor look like this:
'R', 'I', 'F', 'F', 0xF8, 0xFF, 0xFF, 0xFF, 'W', 'A', 'V', 'E', 'f', 'm', 't', 0x20...
I’m not a specialist of wav file format but it seems that file length is set to -8 in little endian !!!
In last Juce git trunk code, WavAudioFormatReader constructor
compute len to -8 and end to 0. So the further while loop exit directly without computing frequency and AudioFormat::createReaderFor return nullptr.
Can you do something to support this again ?