Merge pull request #31833 from Calinou/doc-improve-audiostream
Improve AudioStreamSample and AudioStreamGenerator documentation
This commit is contained in:
commit
e5b7eb61b7
3 changed files with 3 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
|||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
<link>https://github.com/godotengine/godot-demo-projects/tree/master/audio/generator</link>
|
||||
</tutorials>
|
||||
<methods>
|
||||
</methods>
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue