public class VorbisDec extends Element implements OggPayload
ASYNC, ELEMENT_FLAG_LAST, FAILURE, FLAG_IS_SINK, NO_PREROLL, NONE, PAUSE, PAUSE_PLAY, PAUSE_STOP, PLAY, PLAY_PAUSE, stateReturnNames, STOP, STOP_PAUSE, SUCCESSOBJECT_FLAG_LAST| Constructor and Description |
|---|
VorbisDec() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFactoryName() |
long |
getFirstTs(java.util.Vector packets)
Get the first timestamp of the list of packets
|
java.lang.String |
getMime()
Get mime type
|
java.lang.String |
getMime(com.jcraft.jogg.Packet op)
Get mime type from the given packet
|
long |
granuleToTime(long gp)
Convert the granule pos to a timestamp
|
boolean |
isDiscontinuous()
Check if the stream is discontinuous (eg, no need to wait
for data on this stream before playing)
|
boolean |
isHeader(com.jcraft.jogg.Packet op)
Check if the packet contains a header packet
|
boolean |
isKeyFrame(com.jcraft.jogg.Packet op)
Check if the packet contains a keyframe
|
boolean |
isType(com.jcraft.jogg.Packet op)
Check if the packet contains the signature
of the payload.
|
int |
takeHeader(com.jcraft.jogg.Packet op)
Initialize the payload with a header packet.
|
int |
typeFind(byte[] data,
int offset,
int length) |
abortState, addPad, addPadListener, continueState, enumPads, getBus, getClock, getPad, getState, getStateName, getStateNext, getStateReturnName, getTransition, getTransitionCurrent, getTransitionNext, lostState, noMorePads, postMessage, query, removePad, removePadListener, requestSinkPad, sendEvent, setBus, setClock, setState, toStringpublic boolean isType(com.jcraft.jogg.Packet op)
OggPayloadisType in interface OggPayloadpublic int takeHeader(com.jcraft.jogg.Packet op)
OggPayloadtakeHeader in interface OggPayloadpublic boolean isHeader(com.jcraft.jogg.Packet op)
OggPayloadisHeader in interface OggPayloadpublic boolean isKeyFrame(com.jcraft.jogg.Packet op)
OggPayloadisKeyFrame in interface OggPayloadpublic boolean isDiscontinuous()
OggPayloadisDiscontinuous in interface OggPayloadpublic long getFirstTs(java.util.Vector packets)
OggPayloadgetFirstTs in interface OggPayloadpublic long granuleToTime(long gp)
OggPayloadgranuleToTime in interface OggPayloadpublic java.lang.String getFactoryName()
getFactoryName in class Elementpublic java.lang.String getMime()
OggPayloadgetMime in interface OggPayloadgetMime in class Elementpublic java.lang.String getMime(com.jcraft.jogg.Packet op)
OggPayloadgetMime in interface OggPayload