Merge pull request #31833 from Calinou/doc-improve-audiostream

Improve AudioStreamSample and AudioStreamGenerator documentation
This commit is contained in:
Rémi Verschelde 2019-09-01 12:39:43 +02:00 committed by GitHub
commit e5b7eb61b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View file

@ -5,6 +5,7 @@
<description>
</description>
<tutorials>
<link>https://github.com/godotengine/godot-demo-projects/tree/master/audio/generator</link>
</tutorials>
<methods>
</methods>

View file

@ -5,6 +5,7 @@
<description>
</description>
<tutorials>
<link>https://github.com/godotengine/godot-demo-projects/tree/master/audio/generator</link>
</tutorials>
<methods>
<method name="can_push_buffer" qualifiers="const">

View file

@ -24,6 +24,7 @@
<members>
<member name="data" type="PoolByteArray" setter="set_data" getter="get_data" default="PoolByteArray( )">
Contains the audio data in bytes.
[b]Note:[/b] This property expects signed PCM8 data. To convert unsigned PCM8 to signed PCM8, subtract 128 from each byte.
</member>
<member name="format" type="int" setter="set_format" getter="get_format" enum="AudioStreamSample.Format" default="0">
Audio format. See [code]FORMAT_*[/code] constants for values.