Apr 18, 2011

SystemSoundID and .caf on iPhone

If you are using SystemSoundID technique to run small sound files on iOS, .caf files are your best bet. But you will need to change files to .caf properly.

There is one line code to perform that.

- Open up terminal and run the following code where input.wav can be any audio file type.

Put your file's directory in input.wav and your output file's directory and name in output.caf

afconvert -f caff -d ima4 input.wav output.caf


.

No comments:

Post a Comment