Package com.fluendo.jkate
Class State
java.lang.Object
com.fluendo.jkate.State
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Returns the event (if any) generated from the last decoded packet.int
decodeInit
(Info ki) Initialize for decoding.int
decodePacketin
(com.jcraft.jogg.Packet op) Decode a Kate data packet.double
granuleDuration
(long granulepos) Returns, in seconds, duration in granule unitsdouble
granuleTime
(long granulepos) Returns, in seconds, absolute time of current packet in given logical stream
-
Constructor Details
-
State
public State()
-
-
Method Details
-
clear
public void clear() -
decodeInit
Initialize for decoding. -
decodePacketin
public int decodePacketin(com.jcraft.jogg.Packet op) Decode a Kate data packet. Headers are supposed to have been parsed already. An event may be generated, and will then be available from decodeEventOut. -
decodeEventOut
Returns the event (if any) generated from the last decoded packet. -
granuleTime
public double granuleTime(long granulepos) Returns, in seconds, absolute time of current packet in given logical stream -
granuleDuration
public double granuleDuration(long granulepos) Returns, in seconds, duration in granule units
-