2010年3月25日星期四

iPhone 可用的音樂格式

明明是 support *.caf, 點解出唔到聲呢? cocos2d 問題? iPod Touch 問題? SDK 問題? Emulator 問題?
原來係 coding 問題..... 原來 sound file 都有 coding.....

用 afconvert 一轉, 即刻 ok! Yeah! 一個聲又得, 一齊出聲得, 得o左!!


afconvert 使用如下, 例如張 input.wav 轉為 output.caf:
afconvert -d LEI16 -f 'caff' input_file.wav output_file.caf

沒有留言: