是否可以使用麦克风在模拟器上录制实际声音 [英] Is it possible to record actual sound on the simulator using mic

查看:821
本文介绍了是否可以使用麦克风在模拟器上录制实际声音的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使用麦克风在模拟器上录制实际声音。

我创建了录音机,它在模拟器中录制声音,但不录制实际音频,只是空(空)音频。 / p>

Is it possible record the actual sound on the simulator using the mic.
I have created the recorder which record the sound in simulator but not recording the actual audio its just null(empty) audio.

推荐答案

iOS模拟器不支持录音,您应该使用真实设备进行测试。

iOS Simulator does not support audio recording, you should use real device to test.

在这里你可以阅读在iOS模拟器中测试的限制


硬件限制虽然大多数iOS设备的功能
可以在iOS模拟器中模拟,有一些硬件功能
必须直接在设备上测试。无法模拟
的硬件功能:

Hardware Limitations While most of the functionality of iOS devices can be simulated in iOS Simulator, there are some hardware features that must be tested directly on a device. The hardware features that cannot be simulated are:

加速度计

陀螺仪

相机

接近传感器

Gyroscope
Camera
Proximity Sensor

麦克风输入

这篇关于是否可以使用麦克风在模拟器上录制实际声音的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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