b087538119
This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions.
26 lines
979 B
XML
26 lines
979 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="AudioStreamMP3" inherits="AudioStream" version="3.5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
|
|
<brief_description>
|
|
MP3 audio stream driver.
|
|
</brief_description>
|
|
<description>
|
|
MP3 audio stream driver.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
</methods>
|
|
<members>
|
|
<member name="data" type="PoolByteArray" setter="set_data" getter="get_data" default="PoolByteArray( )">
|
|
Contains the audio data in bytes.
|
|
</member>
|
|
<member name="loop" type="bool" setter="set_loop" getter="has_loop" default="false">
|
|
If [code]true[/code], the stream will automatically loop when it reaches the end.
|
|
</member>
|
|
<member name="loop_offset" type="float" setter="set_loop_offset" getter="get_loop_offset" default="0.0">
|
|
Time in seconds at which the stream starts after being looped.
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
</constants>
|
|
</class>
|