2017-09-12 22:42:36 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2023-07-06 10:08:05 +02:00
|
|
|
<class name="AudioStreamPlayback" inherits="RefCounted" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
2017-09-12 22:42:36 +02:00
|
|
|
<brief_description>
|
2017-10-10 16:00:10 +02:00
|
|
|
Meta class for playing back audio.
|
2017-09-12 22:42:36 +02:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2022-07-28 20:34:41 +02:00
|
|
|
Can play, loop, pause a scroll through audio. See [AudioStream] and [AudioStreamOggVorbis] for usage.
|
2017-09-12 22:42:36 +02:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
2020-10-01 10:34:47 +02:00
|
|
|
<link title="Audio Generator Demo">https://godotengine.org/asset-library/asset/526</link>
|
2017-09-12 22:42:36 +02:00
|
|
|
</tutorials>
|
|
|
|
<methods>
|
2021-08-23 19:53:27 +02:00
|
|
|
<method name="_get_loop_count" qualifiers="virtual const">
|
|
|
|
<return type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-12-23 17:30:32 +01:00
|
|
|
<method name="_get_parameter" qualifiers="virtual const">
|
|
|
|
<return type="Variant" />
|
|
|
|
<param index="0" name="name" type="StringName" />
|
|
|
|
<description>
|
|
|
|
Return the current value of a playback parameter by name (see [method AudioStream._get_parameter_list]).
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-08-23 19:53:27 +02:00
|
|
|
<method name="_get_playback_position" qualifiers="virtual const">
|
|
|
|
<return type="float" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="_is_playing" qualifiers="virtual const">
|
|
|
|
<return type="bool" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="_mix" qualifiers="virtual">
|
2021-08-27 19:27:58 +02:00
|
|
|
<return type="int" />
|
2022-08-06 20:11:48 +02:00
|
|
|
<param index="0" name="buffer" type="AudioFrame*" />
|
|
|
|
<param index="1" name="rate_scale" type="float" />
|
|
|
|
<param index="2" name="frames" type="int" />
|
2021-08-23 19:53:27 +02:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="_seek" qualifiers="virtual">
|
|
|
|
<return type="void" />
|
2022-08-06 20:11:48 +02:00
|
|
|
<param index="0" name="position" type="float" />
|
2021-08-23 19:53:27 +02:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2023-12-23 17:30:32 +01:00
|
|
|
<method name="_set_parameter" qualifiers="virtual">
|
|
|
|
<return type="void" />
|
|
|
|
<param index="0" name="name" type="StringName" />
|
|
|
|
<param index="1" name="value" type="Variant" />
|
|
|
|
<description>
|
|
|
|
Set the current value of a playback parameter by name (see [method AudioStream._get_parameter_list]).
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-08-23 19:53:27 +02:00
|
|
|
<method name="_start" qualifiers="virtual">
|
|
|
|
<return type="void" />
|
2022-08-06 20:11:48 +02:00
|
|
|
<param index="0" name="from_pos" type="float" />
|
2021-08-23 19:53:27 +02:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="_stop" qualifiers="virtual">
|
|
|
|
<return type="void" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-07-21 01:00:58 +02:00
|
|
|
<method name="_tag_used_streams" qualifiers="virtual">
|
|
|
|
<return type="void" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2017-09-12 22:42:36 +02:00
|
|
|
</methods>
|
|
|
|
</class>
|