问题
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