Search code examples
iosxcodeaudioopenal

does OpenAL only work with caff format audio files


I am making a game with sound effects and am using open al and using a .wav format audio file, but this does no play any sound.Does open al on iOS only allow caff files to be run and if so how can i convert wav audio files to caff?


Solution

  • If you are using OpenAL on iOS without any wrappers, it will only accept caff and wav as input. Also, you can check out this thread: Converting audio to CAF format for playback on iPhone using OpenAL

    But be careful, since OpenAl on iOs will not take ima4 compressed files directly as input!