I've a audio file (mp3, wav, aiff, ...) in an AVAsset then get the AVAssetTrack.
I'm looking for a way of finding the audio file type (mp3, wav, aiff, ...) from this asset in a Apple format like AVFileType or AudioFileTypeID?
For the moment the only way I find to get the audio file type is to use formatDescriptions property of AVAssetTrack and get the subType as showed in the documentation but it doesn't work very well since I cannot determine which uncompressed format I have (wav or aiff) because I just get "lpcm" format...
Isn't possible to get the AVFileType from an AVAsset?