mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Sync classref with current source
Changes order of brief/long descriptions and removes category as per godotengine/godot#35132.
This commit is contained in:
@@ -11,13 +11,18 @@ AudioStreamPlayer
|
||||
|
||||
**Inherits:** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
|
||||
|
||||
**Category:** Core
|
||||
|
||||
Brief Description
|
||||
-----------------
|
||||
|
||||
Plays back audio non-positionally.
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
||||
Plays an audio stream non-positionally.
|
||||
|
||||
Tutorials
|
||||
---------
|
||||
|
||||
- :doc:`../tutorials/audio/audio_streams`
|
||||
|
||||
Properties
|
||||
----------
|
||||
|
||||
@@ -82,16 +87,6 @@ enum **MixTarget**:
|
||||
|
||||
- **MIX_TARGET_CENTER** = **2** --- The audio will be played on the second channel, which is usually the center.
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
||||
Plays an audio stream non-positionally.
|
||||
|
||||
Tutorials
|
||||
---------
|
||||
|
||||
- :doc:`../tutorials/audio/audio_streams`
|
||||
|
||||
Property Descriptions
|
||||
---------------------
|
||||
|
||||
@@ -199,6 +194,8 @@ The :ref:`AudioStream<class_AudioStream>` object to be played.
|
||||
| *Getter* | get_stream_paused() |
|
||||
+-----------+--------------------------+
|
||||
|
||||
If ``true``, the playback is paused. You can resume it by setting ``stream_paused`` to ``false``.
|
||||
|
||||
----
|
||||
|
||||
.. _class_AudioStreamPlayer_property_volume_db:
|
||||
@@ -230,6 +227,8 @@ Returns the position in the :ref:`AudioStream<class_AudioStream>` in seconds.
|
||||
|
||||
- :ref:`AudioStreamPlayback<class_AudioStreamPlayback>` **get_stream_playback** **(** **)**
|
||||
|
||||
Returns the :ref:`AudioStreamPlayback<class_AudioStreamPlayback>` object associated with this ``AudioStreamPlayer``.
|
||||
|
||||
----
|
||||
|
||||
.. _class_AudioStreamPlayer_method_play:
|
||||
|
||||
Reference in New Issue
Block a user