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.

OggPacketSequence

Eredita: Resource < RefCounted < Object

Una sequenza di pacchetti Ogg.

Descrizione

Una sequenza di pacchetti Ogg.

Proprietà

PackedInt64Array

granule_positions

PackedInt64Array()

Array[Array]

packet_data

[]

float

sampling_rate

0.0

Metodi

float

get_length() const


Descrizioni delle proprietà

PackedInt64Array granule_positions = PackedInt64Array() 🔗

Contiene le posizioni dei granuli per ogni pagina in questa sequenza di pacchetti.

Note: The returned array is copied and any changes to it will not update the original property value. See PackedInt64Array for more details.


Array[Array] packet_data = [] 🔗

Contiene i pacchetti grezzi che compongono questa OggPacketSequence.


float sampling_rate = 0.0 🔗

  • void set_sampling_rate(value: float)

  • float get_sampling_rate()

Contiene informazioni sulla frequenza di campionamento di questa sequenza. Deve essere impostato da un'altra classe che comprende effettivamente il codec.


Descrizioni dei metodi

float get_length() const 🔗

La lunghezza di questo flusso, in secondi.