Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

AudioStreamSynchronized

Hereda: AudioStream < Resource < RefCounted < Object

Flujo que puede contener sub-flujos, los cuales se reproducirán de manera sincronizada.

Descripción

Este es un flujo que puede contener sub-flujos, los cuales se reproducirán de manera sincronizada. Los flujos comienzan exactamente al mismo tiempo al presionar reproducir, y terminarán cuando finalice el último de ellos. Si uno de los sub-flujos se repite en bucle, la reproducción continuará.

Tutoriales

Propiedades

int

stream_count

0

Métodos

AudioStream

get_sync_stream(stream_index: int) const

float

get_sync_stream_volume(stream_index: int) const

void

set_sync_stream(stream_index: int, audio_stream: AudioStream)

void

set_sync_stream_volume(stream_index: int, volume_db: float)


Constantes

MAX_STREAMS = 32 🔗

Maximum amount of streams that can be synchronized.


Descripciones de Propiedades

int stream_count = 0 🔗

  • void set_stream_count(value: int)

  • int get_stream_count()

Set the total amount of streams that will be played back synchronized.


Descripciones de Métodos

AudioStream get_sync_stream(stream_index: int) const 🔗

Obtener una de las transmisiones sincronizadas, por índice.


float get_sync_stream_volume(stream_index: int) const 🔗

Obtener el volumen de una de las transmisiones sincronizadas, por índice.


void set_sync_stream(stream_index: int, audio_stream: AudioStream) 🔗

Set one of the synchronized streams, by index.


void set_sync_stream_volume(stream_index: int, volume_db: float) 🔗

Set the volume of one of the synchronized streams, by index.