2017-09-12 20:42:36 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2021-06-04 16:03:15 +00:00
|
|
|
<class name="AudioStreamPlayback" inherits="RefCounted" version="4.0">
|
2017-09-12 20:42:36 +00:00
|
|
|
<brief_description>
|
2017-10-10 14:00:10 +00:00
|
|
|
Meta class for playing back audio.
|
2017-09-12 20:42:36 +00:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2019-06-21 23:04:47 +00:00
|
|
|
Can play, loop, pause a scroll through audio. See [AudioStream] and [AudioStreamOGGVorbis] for usage.
|
2017-09-12 20:42:36 +00:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
2020-10-01 08:34:47 +00:00
|
|
|
<link title="Audio Generator Demo">https://godotengine.org/asset-library/asset/526</link>
|
2017-09-12 20:42:36 +00:00
|
|
|
</tutorials>
|
|
|
|
<methods>
|
2021-08-23 17:53:27 +00:00
|
|
|
<method name="_get_loop_count" qualifiers="virtual const">
|
|
|
|
<return type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<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 17:27:58 +00:00
|
|
|
<return type="int" />
|
2021-08-23 17:53:27 +00:00
|
|
|
<argument index="0" name="buffer" type="AudioFrame*" />
|
|
|
|
<argument index="1" name="rate_scale" type="float" />
|
|
|
|
<argument index="2" name="frames" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="_seek" qualifiers="virtual">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="position" type="float" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="_start" qualifiers="virtual">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="from_pos" type="float" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="_stop" qualifiers="virtual">
|
|
|
|
<return type="void" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2017-09-12 20:42:36 +00:00
|
|
|
</methods>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|