Converting audio to CAF format for playback on iPhone using OpenAL

前端 未结 5 701
无人共我
无人共我 2020-12-07 06:37

I am using the SoundEngine sample code from Apple in the CrashLanding sample to play back multiple audio files. Using the sample caf files included with CrashLanding everyth

5条回答
  •  有刺的猬
    2020-12-07 07:20

    afconvert -f caff -d LEI16@44100 -c 1 in.wav out.caf
    

    References:

    • Apple's Multimedia Programming Guide: Using Audio: Preferred Audio Formats in iOS
    • afconvert(1) man page (use afconvert -h for complete info)

提交回复
热议问题