summaryrefslogtreecommitdiff
path: root/modules/ogg/doc_classes/OGGPacketSequence.xml
blob: deac5b67e27d5711f10d304016a9e904b0b0798e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.0" encoding="UTF-8" ?>
<class name="OGGPacketSequence" inherits="Resource" version="4.0">
	<brief_description>
		A sequence of OGG packets.
	</brief_description>
	<description>
		A sequence of OGG packets.
	</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>
		<member name="granule_positions" type="Array" setter="set_packet_granule_positions" getter="get_packet_granule_positions" default="[]">
			Contains the granule positions for each page in this packet sequence.
		</member>
		<member name="packet_data" type="Array" setter="set_packet_data" getter="get_packet_data" default="[]">
			Contains the raw packets that make up this OGGPacketSequence.
		</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>