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