xcode 录制内部声音 iPhone SDK

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/7620131/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-14 22:03:41  来源:igfitidea点击:

Record Internal Sound iPhone SDK

iphonexcodeaudioaudiotoolbox

提问by Mr Taylor

I am making a app that requires internal sound to be recorded, any solutions?

我正在制作一个需要录制内部声音的应用程序,有什么解决方案吗?

回答by hotpaw2

The is no public iOS API that will allow you to record all internal sound that an app or the device can make. Only certain types of internal sound can be recorded, for instance sounds produced by an app using Audio Queues or the RemoteIO Audio Unit.

没有公开的 iOS API 可以让您录制应用程序或设备可以发出的所有内部声音。只能录制某些类型的内部声音,例如使用音频队列或 RemoteIO 音频单元的应用程序产生的声音。

For recording external sound, Apple's SpeakHere sample code might be appropriate.

对于录制外部声音,Apple 的 SpeakHere 示例代码可能适用。