2

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?

  • http://www.youtube.com/watch?v=qGpVlgy0PXM video helps you easy in converting to caff on mac. – Avis Oct 16 '14 at 17:06

2 Answers2

1

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!

Community
  • 1
  • 1
BenSower
  • 1,532
  • 1
  • 13
  • 26
0

OpenAL like many audio rendering API's like Web Audio API require PCM audio as its only input format --- any WAV,mp3 will need to be parsed upstream and fed into as audio buffer(s) of PCM audio

Scott Stensland
  • 26,870
  • 12
  • 93
  • 104