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

做~自己de王妃 提交于 2019-12-08 08:17:38

问题


AVAudioRecorder allows the recording of external audio. However I wish to record the audio made by my application (through numerous AVAudioPlayers), is this possible on the iPhone?


回答1:


If you want to record the sounds your iOS app makes, you have to use a much lower lever API, such as Audio Unit RemoteIO, or Audio Queues with raw PCM audio samples.



来源:https://stackoverflow.com/questions/5670326/is-there-a-way-to-record-device-audio-on-the-iphone

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