本文介绍了有没有办法在iPhone上录制设备音频?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

AVAudioRecorder允许录制外部音频。

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?

推荐答案

如果我的应用程序(通过许多AVAudioPlayers)录制音频,您想要录制您的iOS应用程序的声音,您必须使用低得多的杠杆API,如音频单元RemoteIO或音频队列与原始PCM音频样本。

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.

这篇关于有没有办法在iPhone上录制设备音频?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-02 20:59