开发者

iPhone SDK: play a sound with coreAudio

开发者 https://www.devze.com 2023-03-04 08:46 出处:网络
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开发者_开发知识库

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


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
0

精彩评论

暂无评论...
验证码 换一张
取 消