OggPacketSequence

Inherits: Resource < RefCounted < Object

A sequence of Ogg packets.

Description

A sequence of Ogg packets.

Properties

PackedInt64Array

granule_positions

PackedInt64Array()

Array[]

packet_data

[]

float

sampling_rate

0.0

Methods

float

get_length ( ) const

Property Descriptions

Default

PackedInt64Array()

Setter

set_packet_granule_positions(value)

Getter

get_packet_granule_positions()

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


Default

[]

Setter

set_packet_data(value)

Getter

get_packet_data()

Contains the raw packets that make up this OggPacketSequence.


Default

0.0

Setter

set_sampling_rate(value)

Getter

get_sampling_rate()

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.