iPhone SDK:使用coreAudio播放声音 [英] iPhone SDK: play a sound with coreAudio

查看:420
本文介绍了iPhone SDK:使用coreAudio播放声音的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

到目前为止,我一直在使用AudioServices在我的鼓应用程序中播放声音,这导致了可怕的延迟等等。
我被告知如果我使用coreAudio将没有延迟,性能会更好。该人还告诉我,AudioServices仅用于播放短暂的警报声。

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.

我知道哪里可以从CoreAudio开始?

Any idea where i could start with CoreAudio?

如果您有任何代码,它也很有用:)但教程会更好:D。

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

提前致谢!

-DD

推荐答案

我真的推荐Apple的文档及其提供的示例应用程序:

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

  • Core Audio Overview
  • Audio Unit Hosting Guide for iOS

示例应用

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

这篇关于iPhone SDK:使用coreAudio播放声音的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆