2021-09-10 09:54:18 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2022-07-29 02:34:41 +08:00
|
|
|
<class name="OggPacketSequence" inherits="Resource" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
|
2021-09-10 09:54:18 +08:00
|
|
|
<brief_description>
|
2022-07-29 02:34:41 +08:00
|
|
|
A sequence of Ogg packets.
|
2021-09-10 09:54:18 +08:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2022-07-29 02:34:41 +08:00
|
|
|
A sequence of Ogg packets.
|
2021-09-10 09:54:18 +08:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
<method name="get_length" qualifiers="const">
|
|
|
|
<return type="float" />
|
|
|
|
<description>
|
|
|
|
The length of this stream, in seconds.
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
</methods>
|
|
|
|
<members>
|
2022-09-01 01:24:04 +08:00
|
|
|
<member name="granule_positions" type="PackedInt64Array" setter="set_packet_granule_positions" getter="get_packet_granule_positions" default="PackedInt64Array()">
|
2021-09-10 09:54:18 +08:00
|
|
|
Contains the granule positions for each page in this packet sequence.
|
|
|
|
</member>
|
2022-09-01 01:24:04 +08:00
|
|
|
<member name="packet_data" type="Array[]" setter="set_packet_data" getter="get_packet_data" default="[]">
|
2022-07-29 02:34:41 +08:00
|
|
|
Contains the raw packets that make up this OggPacketSequence.
|
2021-09-10 09:54:18 +08:00
|
|
|
</member>
|
|
|
|
<member name="sampling_rate" type="float" setter="set_sampling_rate" getter="get_sampling_rate" default="0.0">
|
|
|
|
Holds sample rate information about this sequence. Must be set by another class that actually understands the codec.
|
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
</class>
|