iPhone SDK: play a sound with coreAudio

跟風遠走 提交于 2019-12-22 00:59:21

问题


So far i've been using AudioServices to play sounds in my drum app which caused horrible lag etc. I've been told that if i use coreAudio there will be no lag abd the performance will be better.The person also told me that AudioServices is only used to play short alert sound.

Any idea where i could start with CoreAudio?

If you have any code, it's helpful too :) but tutorials would be better :D.

Thanks in advance!

-DD


回答1:


I really recommend Apple's documentation and the sample apps they provide:

  • Core Audio Overview
  • Audio Unit Hosting Guide for iOS

Example Apps

  • Audio Mixer (MixerHost)
  • oalTouch
  • SpeakHere
  • iPhoneMultichannelMixerTest
  • iPhoneMixerEQGraphTest
  • MusicCube


来源:https://stackoverflow.com/questions/5928636/iphone-sdk-play-a-sound-with-coreaudio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!