0.2.0-dev Download ZIP
30 lines ·1.2 KB Raw
| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="OggPacketSequence" inherits="Resource" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd"> |
| 3 | <brief_description> |
| 4 | A sequence of Ogg packets. |
| 5 | </brief_description> |
| 6 | <description> |
| 7 | A sequence of Ogg packets. |
| 8 | </description> |
| 9 | <tutorials> |
| 10 | </tutorials> |
| 11 | <methods> |
| 12 | <method name="get_length" qualifiers="const"> |
| 13 | <return type="float" /> |
| 14 | <description> |
| 15 | The length of this stream, in seconds. |
| 16 | </description> |
| 17 | </method> |
| 18 | </methods> |
| 19 | <members> |
| 20 | <member name="granule_positions" type="PackedInt64Array" setter="set_packet_granule_positions" getter="get_packet_granule_positions" default="PackedInt64Array()"> |
| 21 | Contains the granule positions for each page in this packet sequence. |
| 22 | </member> |
| 23 | <member name="packet_data" type="Array[]" setter="set_packet_data" getter="get_packet_data" default="[]"> |
| 24 | Contains the raw packets that make up this OggPacketSequence. |
| 25 | </member> |
| 26 | <member name="sampling_rate" type="float" setter="set_sampling_rate" getter="get_sampling_rate" default="0.0"> |
| 27 | Holds sample rate information about this sequence. Must be set by another class that actually understands the codec. |
| 28 | </member> |
| 29 | </members> |
| 30 | </class> |