AVAudioRecorder可以用于录制来自iOS应用程序的音频吗? [英] Can AVAudioRecorder be used to record audio coming from your iOS app?

查看:63
本文介绍了AVAudioRecorder可以用于录制来自iOS应用程序的音频吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想录制来自我的iPhone应用程序的音频.因此,在将背景音乐和声音效果混合之后,我想在从设备的扬声器(或耳机)播放音频之前先对其进行采样.

I'd like to record the audio coming from my iPhone app. So after the background music and sound effects are mixed I'd like to sample the audio before it's played from the device's speakers (or headphones).

我一直在尝试 的音频吗?

I've been experimenting with RemoteIO Audio Units. These seem promising. However they're pretty low level. Can AVAudioRecorder (or other "high-level" object) be used to capture audio coming from an iOS device?

推荐答案

据我所知,AVAudioRecorder无法做到这一点.您必须使用音频单元.

As far as I can tell, there's no way to do this with AVAudioRecorder. You must use Audio Units.

录制音频iOS

有没有办法记录设备iPhone上的音频?

录制使用OpenAL播放的样本

使用OpenAL在iOS上进行离线音频录音

这篇关于AVAudioRecorder可以用于录制来自iOS应用程序的音频吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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