Merge pull request #29310 from follower/patch-4

Improve AudioStreamSample documentation.
This commit is contained in:
Rémi Verschelde 2019-05-30 15:04:51 +02:00 committed by GitHub
commit 7310c84367
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,10 +1,11 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="AudioStreamSample" inherits="AudioStream" category="Core" version="3.2">
<brief_description>
Plays audio.
Stores audio data loaded from [code].wav[/code] files.
</brief_description>
<description>
Plays audio, can loop.
AudioStreamSample stores sound samples loaded from [code].wav[/code] files. To play the stored sound use an [AudioStreamPlayer] (for background music) or [AudioStreamPlayer2D]/[AudioStreamPlayer3D] (for positional audio). The sound can be looped.
This class can also be used to store dynamically generated PCM audio data.
</description>
<tutorials>
</tutorials>