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

繼承: Resource < RefCounted < Object

Ogg 資料包序列。

說明

Ogg 資料包序列。

屬性

PackedInt64Array

granule_positions

PackedInt64Array()

Array[Array]

packet_data

[]

float

sampling_rate

0.0

方法

float

get_length() const


屬性說明

PackedInt64Array granule_positions = PackedInt64Array() 🔗

包含該封包序列中每個頁面的細微性位置。

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

包含構成此 OggPacketSequence 的原始封包。


float sampling_rate = 0.0 🔗

  • void set_sampling_rate(value: float)

  • float get_sampling_rate()

保存有關該序列的取樣速率資訊。必須由另一個真正理解轉碼器的類設定。


方法說明

float get_length() const 🔗

該流的長度,以秒為單位。