.. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/master/docs/gdscript/doc/classes/AudioStreamPlayer.xml. .. _class_AudioStreamPlayer: AudioStreamPlayer ================= **Inherits:** :ref:`Node` **<** :ref:`Object` .. container:: contribute There is currently no description for this class. Please help us by :ref:`contributing one `! .. rst-class:: classref-reftable-group Properties ---------- .. table:: :widths: auto +----------------------------------------------------+----------------------------------------------------------------------+---------------+ | :ref:`bool` | :ref:`autoplay` | ``false`` | +----------------------------------------------------+----------------------------------------------------------------------+---------------+ | :ref:`StringName` | :ref:`bus` | ``&"Master"`` | +----------------------------------------------------+----------------------------------------------------------------------+---------------+ | :ref:`int` | :ref:`max_polyphony` | ``1`` | +----------------------------------------------------+----------------------------------------------------------------------+---------------+ | :ref:`MixTarget` | :ref:`mix_target` | ``0`` | +----------------------------------------------------+----------------------------------------------------------------------+---------------+ | :ref:`float` | :ref:`pitch_scale` | ``1.0`` | +----------------------------------------------------+----------------------------------------------------------------------+---------------+ | :ref:`PlaybackType` | :ref:`playback_type` | ``0`` | +----------------------------------------------------+----------------------------------------------------------------------+---------------+ | :ref:`bool` | :ref:`playing` | ``false`` | +----------------------------------------------------+----------------------------------------------------------------------+---------------+ | :ref:`AudioStream` | :ref:`stream` | | +----------------------------------------------------+----------------------------------------------------------------------+---------------+ | :ref:`bool` | :ref:`stream_paused` | ``false`` | +----------------------------------------------------+----------------------------------------------------------------------+---------------+ | :ref:`float` | :ref:`volume_db` | ``0.0`` | +----------------------------------------------------+----------------------------------------------------------------------+---------------+ .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +-------------------------------------------------------+----------------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`get_playback_position` **(** **)** | +-------------------------------------------------------+----------------------------------------------------------------------------------------------------------+ | :ref:`AudioStreamPlayback` | :ref:`get_stream_playback` **(** **)** | +-------------------------------------------------------+----------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`has_stream_playback` **(** **)** | +-------------------------------------------------------+----------------------------------------------------------------------------------------------------------+ | void | :ref:`play` **(** :ref:`float` from_position=0.0 **)** | +-------------------------------------------------------+----------------------------------------------------------------------------------------------------------+ | void | :ref:`seek` **(** :ref:`float` to_position **)** | +-------------------------------------------------------+----------------------------------------------------------------------------------------------------------+ | void | :ref:`stop` **(** **)** | +-------------------------------------------------------+----------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Signals ------- .. _class_AudioStreamPlayer_signal_finished: .. rst-class:: classref-signal **finished** **(** **)** .. container:: contribute There is currently no description for this signal. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Enumerations ------------ .. _enum_AudioStreamPlayer_MixTarget: .. rst-class:: classref-enumeration enum **MixTarget**: .. _class_AudioStreamPlayer_constant_MIX_TARGET_STEREO: .. rst-class:: classref-enumeration-constant :ref:`MixTarget` **MIX_TARGET_STEREO** = ``0`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_AudioStreamPlayer_constant_MIX_TARGET_SURROUND: .. rst-class:: classref-enumeration-constant :ref:`MixTarget` **MIX_TARGET_SURROUND** = ``1`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_AudioStreamPlayer_constant_MIX_TARGET_CENTER: .. rst-class:: classref-enumeration-constant :ref:`MixTarget` **MIX_TARGET_CENTER** = ``2`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_AudioStreamPlayer_property_autoplay: .. rst-class:: classref-property :ref:`bool` **autoplay** = ``false`` .. rst-class:: classref-property-setget - void **set_autoplay** **(** :ref:`bool` value **)** - :ref:`bool` **is_autoplay_enabled** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_AudioStreamPlayer_property_bus: .. rst-class:: classref-property :ref:`StringName` **bus** = ``&"Master"`` .. rst-class:: classref-property-setget - void **set_bus** **(** :ref:`StringName` value **)** - :ref:`StringName` **get_bus** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_AudioStreamPlayer_property_max_polyphony: .. rst-class:: classref-property :ref:`int` **max_polyphony** = ``1`` .. rst-class:: classref-property-setget - void **set_max_polyphony** **(** :ref:`int` value **)** - :ref:`int` **get_max_polyphony** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_AudioStreamPlayer_property_mix_target: .. rst-class:: classref-property :ref:`MixTarget` **mix_target** = ``0`` .. rst-class:: classref-property-setget - void **set_mix_target** **(** :ref:`MixTarget` value **)** - :ref:`MixTarget` **get_mix_target** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_AudioStreamPlayer_property_pitch_scale: .. rst-class:: classref-property :ref:`float` **pitch_scale** = ``1.0`` .. rst-class:: classref-property-setget - void **set_pitch_scale** **(** :ref:`float` value **)** - :ref:`float` **get_pitch_scale** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_AudioStreamPlayer_property_playback_type: .. rst-class:: classref-property :ref:`PlaybackType` **playback_type** = ``0`` .. rst-class:: classref-property-setget - void **set_playback_type** **(** :ref:`PlaybackType` value **)** - :ref:`PlaybackType` **get_playback_type** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_AudioStreamPlayer_property_playing: .. rst-class:: classref-property :ref:`bool` **playing** = ``false`` .. rst-class:: classref-property-setget - :ref:`bool` **is_playing** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_AudioStreamPlayer_property_stream: .. rst-class:: classref-property :ref:`AudioStream` **stream** .. rst-class:: classref-property-setget - void **set_stream** **(** :ref:`AudioStream` value **)** - :ref:`AudioStream` **get_stream** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_AudioStreamPlayer_property_stream_paused: .. rst-class:: classref-property :ref:`bool` **stream_paused** = ``false`` .. rst-class:: classref-property-setget - void **set_stream_paused** **(** :ref:`bool` value **)** - :ref:`bool` **get_stream_paused** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_AudioStreamPlayer_property_volume_db: .. rst-class:: classref-property :ref:`float` **volume_db** = ``0.0`` .. rst-class:: classref-property-setget - void **set_volume_db** **(** :ref:`float` value **)** - :ref:`float` **get_volume_db** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Method Descriptions ------------------- .. _class_AudioStreamPlayer_method_get_playback_position: .. rst-class:: classref-method :ref:`float` **get_playback_position** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_AudioStreamPlayer_method_get_stream_playback: .. rst-class:: classref-method :ref:`AudioStreamPlayback` **get_stream_playback** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_AudioStreamPlayer_method_has_stream_playback: .. rst-class:: classref-method :ref:`bool` **has_stream_playback** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_AudioStreamPlayer_method_play: .. rst-class:: classref-method void **play** **(** :ref:`float` from_position=0.0 **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_AudioStreamPlayer_method_seek: .. rst-class:: classref-method void **seek** **(** :ref:`float` to_position **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_AudioStreamPlayer_method_stop: .. rst-class:: classref-method void **stop** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. |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.)` .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)` .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)` .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`