开发者

Reading raw audio in iphone SDK

开发者 https://www.devze.com 2023-03-01 17:01 出处:网络
Hi I want to read and then want to perform开发者_高级运维 some operations on raw audio. What is the best way to do this?Audio File Services, Audio Converter Services, and Extended Audio File Services,

Hi I want to read and then want to perform开发者_高级运维 some operations on raw audio. What is the best way to do this?


Audio File Services, Audio Converter Services, and Extended Audio File Services, all in Core Audio. AV Foundation + Core Media (specifically AVAssetReader) may also be an option, but it's really new, and therefore even less documented and less well understood than Core Audio at this point.


If you are looking for sample code, "Audio Graph" is a good starting point. The developer has provided a bit of his own documentation, that will help you quite a bit.


It will depend on the use for the audio. If latency is an issue, go for audio units. But if is not, a higher layer may be the one you require, such as AudioQueues.

0

精彩评论

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