Solved XF\Http\Upload::analyzeAudio() function reads aac as mp3

This topic has been solved
I

inzanty

Guest
While writing an addon that adds support for additional audio formats, I noticed a strange bug? If you upload an .aac file with the mime type 'audio/x-hx-aac-adts', the XF\Http\Upload::analyzeAudio() function detects it as an .mp3 file.
1690557796557.png

.acc file contains:
image.png

Continue reading...