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.
Checking the stable version of the documentation...
OggPacketSequence
继承: Resource < RefCounted < Object
Ogg 数据包序列。
描述
Ogg 数据包序列。
属性
|
||
|
||
|
方法
get_length() const |
属性说明
PackedInt64Array granule_positions = PackedInt64Array()
🔗
void set_packet_granule_positions(value: PackedInt64Array)
PackedInt64Array get_packet_granule_positions()
包含该数据包序列中每个页面的粒度位置。
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 的原始数据包。
保存有关该序列的采样率信息。必须由另一个真正理解编解码器的类设置。
方法说明
该流的长度,以秒为单位。