Debian Codegraph @

doc/classes/AudioEffectInstance.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <class name="AudioEffectInstance" inherits="RefCounted" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
3 <brief_description>
4 Manipulates the audio it receives for a given effect.
5 </brief_description>
6 <description>
7 An audio effect instance manipulates the audio it receives for a given effect. This instance is automatically created by an [AudioEffect] when it is added to a bus, and should usually not be created directly. If necessary, it can be fetched at run-time with [method AudioServer.get_bus_effect_instance].
8 </description>
9 <tutorials>
10 <link title="Audio buses">$DOCS_URL/tutorials/audio/audio_buses.html</link>
11 </tutorials>
12 <methods>
13 <method name="_process" qualifiers="virtual required">
14 <return type="void" />
15 <param index="0" name="src_buffer" type="const void*" />
16 <param index="1" name="dst_buffer" type="AudioFrame*" />
17 <param index="2" name="frame_count" type="int" />
18 <description>
19 Called by the [AudioServer] to process this effect. When [method _process_silence] is not overridden or it returns [code]false[/code], this method is called only when the bus is active.
20 [b]Note:[/b] It is not useful to override this method in GDScript or C#. Only GDExtension can take advantage of it.
21 </description>
22 </method>
23 <method name="_process_silence" qualifiers="virtual const">
24 <return type="bool" />
25 <description>
26 Override this method to customize the processing behavior of this effect instance.
27 Should return [code]true[/code] to force the [AudioServer] to always call [method _process], even if the bus has been muted or cannot otherwise be heard.
28 </description>
29 </method>
30 </methods>
31 </class>