initial commit, 4.5 stable
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="AudioStreamSynchronized" inherits="AudioStream" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
|
||||
<brief_description>
|
||||
Stream that can be fitted with sub-streams, which will be played in-sync.
|
||||
</brief_description>
|
||||
<description>
|
||||
This is a stream that can be fitted with sub-streams, which will be played in-sync. The streams begin at exactly the same time when play is pressed, and will end when the last of them ends. If one of the sub-streams loops, then playback will continue.
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="get_sync_stream" qualifiers="const">
|
||||
<return type="AudioStream" />
|
||||
<param index="0" name="stream_index" type="int" />
|
||||
<description>
|
||||
Get one of the synchronized streams, by index.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_sync_stream_volume" qualifiers="const">
|
||||
<return type="float" />
|
||||
<param index="0" name="stream_index" type="int" />
|
||||
<description>
|
||||
Get the volume of one of the synchronized streams, by index.
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_sync_stream">
|
||||
<return type="void" />
|
||||
<param index="0" name="stream_index" type="int" />
|
||||
<param index="1" name="audio_stream" type="AudioStream" />
|
||||
<description>
|
||||
Set one of the synchronized streams, by index.
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_sync_stream_volume">
|
||||
<return type="void" />
|
||||
<param index="0" name="stream_index" type="int" />
|
||||
<param index="1" name="volume_db" type="float" />
|
||||
<description>
|
||||
Set the volume of one of the synchronized streams, by index.
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="stream_count" type="int" setter="set_stream_count" getter="get_stream_count" default="0">
|
||||
Set the total amount of streams that will be played back synchronized.
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
<constant name="MAX_STREAMS" value="32">
|
||||
Maximum amount of streams that can be synchronized.
|
||||
</constant>
|
||||
</constants>
|
||||
</class>
|
||||
Reference in New Issue
Block a user