mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Changes order of brief/long descriptions and removes category as per godotengine/godot#35132.
75 lines
3.8 KiB
ReStructuredText
75 lines
3.8 KiB
ReStructuredText
:github_url: hide
|
|
|
|
.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
|
|
.. DO NOT EDIT THIS FILE, but the AudioStreamGeneratorPlayback.xml source instead.
|
|
.. The source is found in doc/classes or modules/<name>/doc_classes.
|
|
|
|
.. _class_AudioStreamGeneratorPlayback:
|
|
|
|
AudioStreamGeneratorPlayback
|
|
============================
|
|
|
|
**Inherits:** :ref:`AudioStreamPlaybackResampled<class_AudioStreamPlaybackResampled>` **<** :ref:`AudioStreamPlayback<class_AudioStreamPlayback>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
|
|
|
|
|
|
|
|
Tutorials
|
|
---------
|
|
|
|
- `https://github.com/godotengine/godot-demo-projects/tree/master/audio/generator <https://github.com/godotengine/godot-demo-projects/tree/master/audio/generator>`_
|
|
|
|
Methods
|
|
-------
|
|
|
|
+-------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`bool<class_bool>` | :ref:`can_push_buffer<class_AudioStreamGeneratorPlayback_method_can_push_buffer>` **(** :ref:`int<class_int>` amount **)** const |
|
|
+-------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`clear_buffer<class_AudioStreamGeneratorPlayback_method_clear_buffer>` **(** **)** |
|
|
+-------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`int<class_int>` | :ref:`get_frames_available<class_AudioStreamGeneratorPlayback_method_get_frames_available>` **(** **)** const |
|
|
+-------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`int<class_int>` | :ref:`get_skips<class_AudioStreamGeneratorPlayback_method_get_skips>` **(** **)** const |
|
|
+-------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`bool<class_bool>` | :ref:`push_buffer<class_AudioStreamGeneratorPlayback_method_push_buffer>` **(** :ref:`PoolVector2Array<class_PoolVector2Array>` frames **)** |
|
|
+-------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`bool<class_bool>` | :ref:`push_frame<class_AudioStreamGeneratorPlayback_method_push_frame>` **(** :ref:`Vector2<class_Vector2>` frame **)** |
|
|
+-------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
|
|
|
|
Method Descriptions
|
|
-------------------
|
|
|
|
.. _class_AudioStreamGeneratorPlayback_method_can_push_buffer:
|
|
|
|
- :ref:`bool<class_bool>` **can_push_buffer** **(** :ref:`int<class_int>` amount **)** const
|
|
|
|
----
|
|
|
|
.. _class_AudioStreamGeneratorPlayback_method_clear_buffer:
|
|
|
|
- void **clear_buffer** **(** **)**
|
|
|
|
----
|
|
|
|
.. _class_AudioStreamGeneratorPlayback_method_get_frames_available:
|
|
|
|
- :ref:`int<class_int>` **get_frames_available** **(** **)** const
|
|
|
|
----
|
|
|
|
.. _class_AudioStreamGeneratorPlayback_method_get_skips:
|
|
|
|
- :ref:`int<class_int>` **get_skips** **(** **)** const
|
|
|
|
----
|
|
|
|
.. _class_AudioStreamGeneratorPlayback_method_push_buffer:
|
|
|
|
- :ref:`bool<class_bool>` **push_buffer** **(** :ref:`PoolVector2Array<class_PoolVector2Array>` frames **)**
|
|
|
|
----
|
|
|
|
.. _class_AudioStreamGeneratorPlayback_method_push_frame:
|
|
|
|
- :ref:`bool<class_bool>` **push_frame** **(** :ref:`Vector2<class_Vector2>` frame **)**
|
|
|