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

Hérite de : Resource < RefCounted < Object

Une séquence de paquets Ogg.

Description

Une séquence de paquets Ogg.

Propriétés

PackedInt64Array

granule_positions

PackedInt64Array()

Array[Array]

packet_data

[]

float

sampling_rate

0.0

Méthodes

float

get_length() const


Descriptions des propriétés

PackedInt64Array granule_positions = PackedInt64Array() 🔗

Contains the granule positions for each page in this packet sequence.

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 = [] 🔗

Contient les paquets bruts qui composent ce OggPacketSequence.


float sampling_rate = 0.0 🔗

  • void set_sampling_rate(value: float)

  • float get_sampling_rate()

Contient des informations sur le taux d'échantillonnage de cette séquence. Doit être défini par une autre classe qui comprend réellement le codec.


Descriptions des méthodes

float get_length() const 🔗

La longueur de ce flux, en secondes.