:github_url: hide .. Generated automatically by doc/tools/make_rst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the AudioStream.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_AudioStream: AudioStream =========== **Inherits:** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` **Inherited By:** :ref:`AudioStreamGenerator`, :ref:`AudioStreamMP3`, :ref:`AudioStreamMicrophone`, :ref:`AudioStreamOGGVorbis`, :ref:`AudioStreamRandomPitch`, :ref:`AudioStreamSample` Clase base para las transmisiones de audio. Descripción ---------------------- Clase base para las transmisiones de audio. Los flujos de audio se usan para efectos de sonido y reproducción de música, y soportan los formatos de archivo WAV (a través de :ref:`AudioStreamSample`) y OGG (a través de :ref:`AudioStreamOGGVorbis`). Tutoriales -------------------- - :doc:`Audio streams <../tutorials/audio/audio_streams>` - `Audio Generator Demo `__ - `Audio Mic Record Demo `__ - `Audio Spectrum Demo `__ Métodos -------------- +---------------------------+----------------------------------------------------------------------------+ | :ref:`float` | :ref:`get_length` **(** **)** |const| | +---------------------------+----------------------------------------------------------------------------+ Descripciones de Métodos ------------------------------------------------ .. _class_AudioStream_method_get_length: - :ref:`float` **get_length** **(** **)** |const| Devuelve la duración del flujo de audio en segundos. .. |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.)`