Can AVAudioRecorder be used to record audio coming from your iOS app?

好久不见. 提交于 2019-12-07 10:06:00

问题


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?


回答1:


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

Record audio iOS

Is there a way to record device audio on the iPhone?

Record samples being played with OpenAL

Offline audio recording on iOS with OpenAL



来源:https://stackoverflow.com/questions/8101873/can-avaudiorecorder-be-used-to-record-audio-coming-from-your-ios-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!