mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
14 lines
920 B
XML
14 lines
920 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="AudioStreamMicrophone" inherits="AudioStream" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
|
<brief_description>
|
|
Plays real-time audio input data.
|
|
</brief_description>
|
|
<description>
|
|
When used directly in an [AudioStreamPlayer] node, [AudioStreamMicrophone] plays back microphone input in real-time. This can be used in conjunction with [AudioEffectCapture] to process the data or save it.
|
|
[b]Note:[/b] [member ProjectSettings.audio/driver/enable_input] must be [code]true[/code] for audio input to work. See also that setting's description for caveats related to permissions and operating system privacy settings.
|
|
</description>
|
|
<tutorials>
|
|
<link title="Audio Mic Record Demo">https://github.com/godotengine/godot-demo-projects/tree/master/audio/mic_record</link>
|
|
</tutorials>
|
|
</class>
|