OggPacketSequence
Inherits: Resource < RefCounted < Object
Description
Section titled “Description”A sequence of Ogg packets.
A sequence of Ogg packets.
Properties
Section titled “Properties”| Type | Name | Default |
|---|---|---|
| PackedInt64Array | granule_positions |
PackedInt64Array() |
| Array[Array] | packet_data |
[] |
| float | sampling_rate |
0.0 |
Methods
Section titled “Methods”| Returns | Method |
|---|---|
| float | get_length() const |
Property descriptions
Section titled “Property descriptions”granule_positions
PackedInt64Array granule_positions = PackedInt64Array()
Contains the granule positions for each page in this packet sequence.
packet_data
Contains the raw packets that make up this OggPacketSequence.
sampling_rate
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
Section titled “Method descriptions”get_length
float get_length() const
The length of this stream, in seconds.
