Table of Contents

Class OggPacketSequence

A sequence of Ogg packets.

Inheritance
OggPacketSequence

Remarks

A sequence of Ogg packets.

Properties

granule_positions

Contains the granule positions for each page in this packet sequence.

var granule_positions : PackedInt64Array = PackedInt64Array()

Property Value

PackedInt64Array

Remarks

packet_data

Contains the raw packets that make up this OggPacketSequence.

var packet_data : Array[] = []

Property Value

Array[]

Remarks

sampling_rate

Holds sample rate information about this sequence. Must be set by another class that actually understands the codec.

var sampling_rate : float = 0.0

Property Value

float

Remarks

  • void set_sampling_rate(float value)
  • float get_sampling_rate

Methods

get_length

Qualifiers: const

The length of this stream, in seconds.

float get_length