Closed atamanuk closed 2 months ago
Thanks for your feedback~
These kind of issues are often specific to a quirk inside the file you're using. Would it be possible to upload it somewhere (e.g. mega, WeTransfer...)?
Thanks in advance
Plus I just realized HEIC is a picture format. This library is an audio library. Are you sure you're using it correctly?
I use the library to find out the type of audio. But sometimes incorrect files are sent to the input. It would be nice if the library would return error or throw exception in this case.
fwiw, looks like it gets stuck at https://github.com/Zeugma440/atldotnet/blob/a8e4217e880e2172e08ca5944838bd08542dc7ee/ATL/AudioData/AudioFileIO.cs#L75, because found
is always false and alternate
doesn't get incremented (the variant of AudioFileIO()
that takes a path does exit for comparison)
Well done @Numpsy, you saved me quite some debugging time 😄
The fix will be available on next release ✅
Fix is available on today's v5.23
The problem
The
AudioFileIO
reads HEIC file endlesslyEnvironment
Details
When I'm creating the
Track
from HEIC file without mimeType, the constructor ofAudioFileIO
goes into an endless loop and incessantly writes to log:Code To Reproduce Issue