Merge pull request #18612 from Nobelix/pitch-scale-desc

Added a description to the picth_scale property.
This commit is contained in:
Max Hilbrunner 2018-05-05 06:34:28 +02:00 committed by GitHub
commit 27e349d161
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View file

@ -57,6 +57,7 @@
If the audio configuration has more than two speakers, this sets the target channels. See [code]MIX_TARGET_*[/code] constants. If the audio configuration has more than two speakers, this sets the target channels. See [code]MIX_TARGET_*[/code] constants.
</member> </member>
<member name="pitch_scale" type="float" setter="set_pitch_scale" getter="get_pitch_scale"> <member name="pitch_scale" type="float" setter="set_pitch_scale" getter="get_pitch_scale">
Changes the pitch and the tempo of the audio.
</member> </member>
<member name="playing" type="bool" setter="_set_playing" getter="is_playing"> <member name="playing" type="bool" setter="_set_playing" getter="is_playing">
If [code]true[/code] audio is playing. If [code]true[/code] audio is playing.

View file

@ -63,6 +63,7 @@
Maximum distance from which audio is still hearable. Maximum distance from which audio is still hearable.
</member> </member>
<member name="pitch_scale" type="float" setter="set_pitch_scale" getter="get_pitch_scale"> <member name="pitch_scale" type="float" setter="set_pitch_scale" getter="get_pitch_scale">
Changes the pitch and the tempo of the audio.
</member> </member>
<member name="playing" type="bool" setter="_set_playing" getter="is_playing"> <member name="playing" type="bool" setter="_set_playing" getter="is_playing">
If [code]true[/code] audio is playing. If [code]true[/code] audio is playing.

View file

@ -87,6 +87,7 @@
Decides if audio should pause when source is outside of 'max_distance' range. Decides if audio should pause when source is outside of 'max_distance' range.
</member> </member>
<member name="pitch_scale" type="float" setter="set_pitch_scale" getter="get_pitch_scale"> <member name="pitch_scale" type="float" setter="set_pitch_scale" getter="get_pitch_scale">
Changes the pitch and the tempo of the audio.
</member> </member>
<member name="playing" type="bool" setter="_set_playing" getter="is_playing"> <member name="playing" type="bool" setter="_set_playing" getter="is_playing">
If [code]true[/code], audio is playing. If [code]true[/code], audio is playing.