Skip to content
0.2.0-dev Download ZIP
18 lines ·1.2 KB Raw
1<?xml version="1.0" encoding="UTF-8" ?>
2<class name="AudioStreamPolyphonic" inherits="AudioStream" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
3 <brief_description>
4 AudioStream that lets the user play custom streams at any time from code, simultaneously using a single player.
5 </brief_description>
6 <description>
7 AudioStream that lets the user play custom streams at any time from code, simultaneously using a single player.
8 Playback control is done via the [AudioStreamPlaybackPolyphonic] instance set inside the player, which can be obtained via [method AudioStreamPlayer.get_stream_playback], [method AudioStreamPlayer2D.get_stream_playback] or [method AudioStreamPlayer3D.get_stream_playback] methods. Obtaining the playback instance is only valid after the [code]stream[/code] property is set as an [AudioStreamPolyphonic] in those players.
9 </description>
10 <tutorials>
11 <link title="Audio streams">$DOCS_URL/tutorials/audio/audio_streams.html</link>
12 </tutorials>
13 <members>
14 <member name="polyphony" type="int" setter="set_polyphony" getter="get_polyphony" default="32">
15 Maximum amount of simultaneous streams that can be played.
16 </member>
17 </members>
18</class>