用户工具

站点工具


侧边栏



Unity3D中文文档

script:unityengine:classes:microphone:microphone

Microphone 麦克风

class in UnityEngine

Description 描述

Use this class to record to an AudioClip using a connected microphone.

使用此类来记录使用连接的麦克风的音频剪辑。

You can get a list of connected microphone(s) from the devices property and then use the Start and End functions to start or end a recording session using one of the available devices.

你可以从设备属性中获取连接的麦克风的列表并使用开始和结束函数去启动或结束记录会议中可用的设备之一。

Static Variables 静态变量

devicesA list of available microphone devices, identified by name.
可用麦克风设备列表,通过名称识别。

Static Functions 静态函数

EndStops recording.
停止记录。
GetDeviceCapsGet the frequency capabilities of a device.
获取设备频率性能。
GetPositionGet the position in samples of the recording.
在记录的样品中获取位置。
IsRecordingQuery if a device is currently recording.
查询是否记录当前设备。
StartStart Recording with device.
设备开始记录。
script/unityengine/classes/microphone/microphone.txt · 最后更改: 2016/08/02 05:31 (外部编辑)