diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-09-01 12:39:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-01 12:39:43 +0200 |
commit | e5b7eb61b7b510f8b4b6b736ca311be98b96b11d (patch) | |
tree | 56276c52f978b9069b087fcb6316a77a6a737513 | |
parent | 4e8ce420f127f273d7fcc46a260349b4868cd643 (diff) | |
parent | b0c8d12a631839ffcced325ee0ac74f08d07d106 (diff) |
Merge pull request #31833 from Calinou/doc-improve-audiostream
Improve AudioStreamSample and AudioStreamGenerator documentation
-rw-r--r-- | doc/classes/AudioStreamGenerator.xml | 1 | ||||
-rw-r--r-- | doc/classes/AudioStreamGeneratorPlayback.xml | 1 | ||||
-rw-r--r-- | doc/classes/AudioStreamSample.xml | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/doc/classes/AudioStreamGenerator.xml b/doc/classes/AudioStreamGenerator.xml index 9d67b88c71..9a1e4432f1 100644 --- a/doc/classes/AudioStreamGenerator.xml +++ b/doc/classes/AudioStreamGenerator.xml @@ -5,6 +5,7 @@ <description> </description> <tutorials> + <link>https://github.com/godotengine/godot-demo-projects/tree/master/audio/generator</link> </tutorials> <methods> </methods> diff --git a/doc/classes/AudioStreamGeneratorPlayback.xml b/doc/classes/AudioStreamGeneratorPlayback.xml index 310b58c4e5..448284e670 100644 --- a/doc/classes/AudioStreamGeneratorPlayback.xml +++ b/doc/classes/AudioStreamGeneratorPlayback.xml @@ -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"> diff --git a/doc/classes/AudioStreamSample.xml b/doc/classes/AudioStreamSample.xml index 6d03301749..a496902ded 100644 --- a/doc/classes/AudioStreamSample.xml +++ b/doc/classes/AudioStreamSample.xml @@ -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. |