Add samples playback support

This commit is contained in:
Adam Scott 2024-04-18 10:50:34 -04:00
parent eb20a68b32
commit 52fa4f05f3
No known key found for this signature in database
GPG key ID: F6BA2A0302E21A77
42 changed files with 2611 additions and 46 deletions

View file

@ -78,6 +78,9 @@
<member name="pitch_scale" type="float" setter="set_pitch_scale" getter="get_pitch_scale" default="1.0">
The pitch and the tempo of the audio, as a multiplier of the audio sample's sample rate.
</member>
<member name="playback_type" type="int" setter="set_playback_type" getter="get_playback_type" enum="AudioServer.PlaybackType" default="0" experimental="">
The playback type of the stream player. If set other than to the default value, it will force that playback type.
</member>
<member name="playing" type="bool" setter="_set_playing" getter="is_playing" default="false">
If [code]true[/code], audio is playing or is queued to be played (see [method play]).
</member>