mirror of
https://github.com/godotengine/godot-docs.git
synced 2025-12-31 17:49:03 +03:00
62 lines
2.3 KiB
ReStructuredText
62 lines
2.3 KiB
ReStructuredText
:github_url: hide
|
|
|
|
.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
|
|
.. DO NOT EDIT THIS FILE, but the AudioStreamGenerator.xml source instead.
|
|
.. The source is found in doc/classes or modules/<name>/doc_classes.
|
|
|
|
.. _class_AudioStreamGenerator:
|
|
|
|
AudioStreamGenerator
|
|
====================
|
|
|
|
**Inherits:** :ref:`AudioStream<class_AudioStream>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
|
|
|
|
|
|
|
|
Tutorials
|
|
---------
|
|
|
|
- `Audio Generator Demo <https://godotengine.org/asset-library/asset/526>`_
|
|
|
|
Properties
|
|
----------
|
|
|
|
+---------------------------+-------------------------------------------------------------------------+-------------+
|
|
| :ref:`float<class_float>` | :ref:`buffer_length<class_AudioStreamGenerator_property_buffer_length>` | ``0.5`` |
|
|
+---------------------------+-------------------------------------------------------------------------+-------------+
|
|
| :ref:`float<class_float>` | :ref:`mix_rate<class_AudioStreamGenerator_property_mix_rate>` | ``44100.0`` |
|
|
+---------------------------+-------------------------------------------------------------------------+-------------+
|
|
|
|
Property Descriptions
|
|
---------------------
|
|
|
|
.. _class_AudioStreamGenerator_property_buffer_length:
|
|
|
|
- :ref:`float<class_float>` **buffer_length**
|
|
|
|
+-----------+--------------------------+
|
|
| *Default* | ``0.5`` |
|
|
+-----------+--------------------------+
|
|
| *Setter* | set_buffer_length(value) |
|
|
+-----------+--------------------------+
|
|
| *Getter* | get_buffer_length() |
|
|
+-----------+--------------------------+
|
|
|
|
----
|
|
|
|
.. _class_AudioStreamGenerator_property_mix_rate:
|
|
|
|
- :ref:`float<class_float>` **mix_rate**
|
|
|
|
+-----------+---------------------+
|
|
| *Default* | ``44100.0`` |
|
|
+-----------+---------------------+
|
|
| *Setter* | set_mix_rate(value) |
|
|
+-----------+---------------------+
|
|
| *Getter* | get_mix_rate() |
|
|
+-----------+---------------------+
|
|
|
|
.. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
|
|
.. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
|
|
.. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
|