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¶
Inherits: Resource < RefCounted < Object
A sequence of Ogg packets.
描述¶
A sequence of Ogg packets.
属性¶
|
||
|
||
|
Methods¶
get_length ( ) const |
Property Descriptions¶
PackedInt64Array granule_positions = PackedInt64Array()
void set_packet_granule_positions ( PackedInt64Array value )
PackedInt64Array get_packet_granule_positions ( )
Contains the granule positions for each page in this packet sequence.
Array[] packet_data = []
Contains the raw packets that make up this OggPacketSequence.
float sampling_rate = 0.0
Holds sample rate information about this sequence. Must be set by another class that actually understands the codec.
Method Descriptions¶
float get_length ( ) const
The length of this stream, in seconds.