iPhone SDK: play a sound with coreAudio
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
精彩评论