Work in progress
Godot documentation is being updated to reflect the latest changes in version
4.0
. Some documentation pages may
still state outdated information. This banner will tell you if you're reading one of such pages.
The contents of this page are up to date. If you can still find outdated information, please open an issue.
OggPacketSequence¶
Inherits: Resource < RefCounted < Object
A sequence of Ogg packets.
Description¶
A sequence of Ogg packets.
Properties¶
|
||
|
||
|
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.