Class State
java.lang.Object
com.fluendo.jkate.State
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Returns the event (if any) generated from the last decoded packet.intdecodeInit(Info ki) Initialize for decoding.intdecodePacketin(com.jcraft.jogg.Packet op) Decode a Kate data packet.doublegranuleDuration(long granulepos) Returns, in seconds, duration in granule unitsdoublegranuleTime(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
-