AudioStreamMicrophone

继承: AudioStream < Resource < RefCounted < Object

播放实时音频输入数据。

描述

当直接在 AudioStreamPlayer 节点中使用时,AudioStreamMicrophone 会实时播放麦克风的输入。这可以配合 AudioEffectCapture 使用,以处理数据或保存数据。

注意:ProjectSettings.audio/driver/enable_input 必须为 true 音频输入才能正常工作。另请参阅该设置的说明,了解与权限和操作系统隐私设置相关的注意事项。

教程

Previous Next


© 版权所有 2014-present Juan Linietsky, Ariel Manzur and the Godot community (CC BY 3.0). Revision b1c660f7.

Built with Sphinx using a theme provided by Read the Docs.