The general idea of ββthe strengths / weaknesses of the iPhone API for iPhone in terms of the game:
- AVFoundation: play long compressed files. Lack of access at a low level, high latency. Good for theme or background music. Bad for short-lived effects.
- : (, 0-5 ) . PCM IMA4 .aif,.wav .caf. Fire-and-forget ( , ). API C. (, , , ).
- OpenAL: . API OpenGL . . PCM (, Core Audio " " ). . .
- : , ( , , ..). C-. . : AVFoundation, OpenAL Audio Units. .
- : Core Audio. (< 30 ). C C. PCM. . .
, - , , , , (/ iPod , / / ...). AV Foundation Obj-C, Core Audio .