|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.fluendo.jst.Object
com.fluendo.jst.Element
com.fluendo.plugin.VorbisDec
public class VorbisDec
| Field Summary |
|---|
| Fields inherited from class com.fluendo.jst.Element |
|---|
ASYNC, ELEMENT_FLAG_LAST, FAILURE, FLAG_IS_SINK, NO_PREROLL, NONE, PAUSE, PAUSE_PLAY, PAUSE_STOP, PLAY, PLAY_PAUSE, stateReturnNames, STOP, STOP_PAUSE, SUCCESS |
| Fields inherited from class com.fluendo.jst.Object |
|---|
OBJECT_FLAG_LAST |
| Constructor Summary | |
|---|---|
VorbisDec()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class com.fluendo.jst.Element |
|---|
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, toString |
| Methods inherited from class com.fluendo.jst.Object |
|---|
getName, getParent, getProperty, isFlagSet, setFlag, setName, setParent, setProperty, unParent, unsetFlag |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VorbisDec()
| Method Detail |
|---|
public boolean isType(com.jcraft.jogg.Packet op)
OggPayload
isType in interface OggPayloadpublic int takeHeader(com.jcraft.jogg.Packet op)
OggPayload
takeHeader in interface OggPayloadpublic boolean isHeader(com.jcraft.jogg.Packet op)
OggPayload
isHeader in interface OggPayloadpublic boolean isKeyFrame(com.jcraft.jogg.Packet op)
OggPayload
isKeyFrame in interface OggPayloadpublic boolean isDiscontinuous()
OggPayload
isDiscontinuous in interface OggPayloadpublic long getFirstTs(java.util.Vector packets)
OggPayload
getFirstTs in interface OggPayloadpublic long granuleToTime(long gp)
OggPayload
granuleToTime in interface OggPayloadpublic java.lang.String getFactoryName()
getFactoryName in class Elementpublic java.lang.String getMime()
OggPayload
getMime in interface OggPayloadgetMime in class Elementpublic java.lang.String getMime(com.jcraft.jogg.Packet op)
OggPayload
getMime in interface OggPayload
public int typeFind(byte[] data,
int offset,
int length)
typeFind in class Element
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||