I am trying to combine 2 audio files.
The main problem is that audio files are lossless .flac files.
I tried creating AVMutableComposition
, then creating 2 AVURLAsset
for each audio and use AVAssetExportSession
to combine the audio files and it works, but the main problem in this case is that AVAssetExportSession
doesn't support exporting to .flac and supports .m4a which is lossy compression and not suitable in my case.
Can anyone suggest how to get .flac audio files ?