Hello everyone,
I am aware that you can take files access and copy files from the iOS Library via Xcode/Obj-c, but I am wondering if there is a way for Unity to read the audio file?
Lots of the audio files on the iOS Library are likely m4a, and I was wondering if it is at all possible for Unity to be able to read these files?
I know the audio files unity supports, and that m4a is no longer one of them. But I am wondering if there is any way to encode audio files that are copied from the library. I am aware of LAME and FFmpeg, but there are some problems with these. FFmpeg requires you to release your source code if you use it, and I also believe that I would not be able to submit my App if it includes those custom frameworks.
Is there absolutely any way that I would be able to read most audio files from the iOS Library, besides mp3? My game will likely depend on these files.
If I cannot use m4a, would you suggest me limiting my app to just mp3? This is really NOT what I want to do, but if there is no other way, it might necessary. The other option is to have the user upload the m4a to a server, which quickly encodes it, and sends it back. The problem with this solution is that it requires the user to have a internet connection, which is not ideal for many games.
Thanks for your time,
-Kyle