同时录制和播放音频 [英] Record and play audio Simultaneously

查看:128
本文介绍了同时录制和播放音频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人帮我在Iphone中同时录制和播放音频。

Any one help to me to record and play audio Simultaneously in Iphone.

推荐答案

您可以使用Audio Unit RemoteIO或Audio在iOS设备上同时播放和录制(第一代触控除外)队列API。这些是较低级别的API,您必须自己处理传出和传入PCM样本的传入缓冲区。

You can play and record simultaneously on iOS devices (except the 1st gen Touch) using either the Audio Unit RemoteIO or the Audio Queue API. These are lower level APIs where you have to handle the incoming buffers of outgoing and incoming PCM samples yourself.

请参阅Apple的aurioTouch示例应用程序,例如代码。

See Apple's aurioTouch sample app for example code.

这篇关于同时录制和播放音频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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