I have the simple problem here. I have two CAF files. All I want to do is to join them to be one long audio file.
I've tried to:
Use the NSData class and append the audio data of both files into one. Hasn't worked. I assume some file property is not being set properly. The resulting file only plays the length of the first file.
Tried to set the kAudioFilePropertyAudioDataByteCount property of the resulting file in my joining process. No result.
Could anyone point me in the right direction / help me with some sample code? I have seen other people asking similar questions and going unanswered. Hoping someone would pick this up.
Your help is greatly appreciated. Thanks.