AudioStreamOggVorbis
Hereda: AudioStream < Resource < RefCounted < Object
Una clase que representa una secuencia de audio Ogg Vorbis.
Descripción
The AudioStreamOggVorbis class is a specialized AudioStream for handling Ogg Vorbis file formats. It offers functionality for loading and playing back Ogg Vorbis files, as well as managing looping and other playback properties. This class is part of the audio stream system, which also supports WAV files through the AudioStreamWAV class.
Tutoriales
Propiedades
|
||
|
||
|
||
|
||
|
||
|
Métodos
load_from_buffer(stream_data: PackedByteArray) static |
|
load_from_file(path: String) static |
Descripciones de Propiedades
There is currently no description for this property. Please help us by contributing one!
There is currently no description for this property. Please help us by contributing one!
There is currently no description for this property. Please help us by contributing one!
Si es true, el audio se reproducirá de nuevo desde loop_offset especificado una vez finalizada la reproducción. Útil para sonidos ambientales y música de fondo.
Tiempo en segundos en el que el stream comienza después de ser enlazada.
OggPacketSequence packet_sequence 🔗
void set_packet_sequence(value: OggPacketSequence)
OggPacketSequence get_packet_sequence()
Contiene los datos Ogg sin procesar para esta transmisión.
Dictionary tags = {} 🔗
void set_tags(value: Dictionary)
Dictionary get_tags()
Contains user-defined tags if found in the Ogg Vorbis data.
Commonly used tags include title, artist, album, tracknumber, and date (date does not have a standard date format).
Note: No tag is guaranteed to be present in every file, so make sure to account for the keys not always existing.
Descripciones de Métodos
AudioStreamOggVorbis load_from_buffer(stream_data: PackedByteArray) static 🔗
Crea una nueva instancia de AudioStreamOggVorbis a partir del búfer especificado. El búfer debe contener datos Ogg Vorbis.
AudioStreamOggVorbis load_from_file(path: String) static 🔗
Crea una nueva instancia de AudioStreamOggVorbis a partir de la ruta de archivo indicada. El archivo debe estar en formato Ogg Vorbis.