Modifier and Type | Field and Description |
---|---|
static int |
ASYNC |
static int |
ELEMENT_FLAG_LAST |
static int |
FAILURE |
static int |
FLAG_IS_SINK |
static int |
NO_PREROLL |
static int |
NONE |
static int |
PAUSE |
static int |
PAUSE_PLAY |
static int |
PAUSE_STOP |
static int |
PLAY |
static int |
PLAY_PAUSE |
static java.lang.String[] |
stateReturnNames |
static int |
STOP |
static int |
STOP_PAUSE |
static int |
SUCCESS |
OBJECT_FLAG_LAST
Constructor and Description |
---|
Element() |
Element(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
abortState() |
boolean |
addPad(Pad newPad) |
void |
addPadListener(PadListener listener) |
int |
continueState(int result) |
java.util.Enumeration |
enumPads() |
Bus |
getBus() |
Clock |
getClock() |
abstract java.lang.String |
getFactoryName() |
java.lang.String |
getMime() |
Pad |
getPad(java.lang.String name) |
int |
getState(int[] resState,
int[] resPending,
long timeout) |
static java.lang.String |
getStateName(int state) |
int |
getStateNext(int current,
int pending) |
static java.lang.String |
getStateReturnName(int ret) |
int |
getTransition(int current,
int next) |
int |
getTransitionCurrent(int transition) |
int |
getTransitionNext(int transition) |
void |
lostState() |
void |
noMorePads() |
void |
postMessage(Message message) |
boolean |
query(Query query) |
boolean |
removePad(Pad aPad) |
void |
removePadListener(PadListener listener) |
Pad |
requestSinkPad(Pad peer) |
boolean |
sendEvent(Event event) |
void |
setBus(Bus newBus) |
void |
setClock(Clock newClock) |
int |
setState(int newState) |
java.lang.String |
toString() |
int |
typeFind(byte[] data,
int offset,
int length) |
public static final int FLAG_IS_SINK
public static final int ELEMENT_FLAG_LAST
public static final int NONE
public static final int STOP
public static final int PAUSE
public static final int PLAY
public static final int STOP_PAUSE
public static final int PAUSE_PLAY
public static final int PLAY_PAUSE
public static final int PAUSE_STOP
public static final int FAILURE
public static final int SUCCESS
public static final int ASYNC
public static final int NO_PREROLL
public static java.lang.String[] stateReturnNames
public static java.lang.String getStateName(int state)
public static java.lang.String getStateReturnName(int ret)
public java.lang.String getMime()
public abstract java.lang.String getFactoryName()
public int typeFind(byte[] data, int offset, int length)
public java.lang.String toString()
toString
in class java.lang.Object
public void setClock(Clock newClock)
public Clock getClock()
public void setBus(Bus newBus)
public Bus getBus()
public void addPadListener(PadListener listener)
public void removePadListener(PadListener listener)
public Pad getPad(java.lang.String name)
public boolean addPad(Pad newPad)
public boolean removePad(Pad aPad)
public void noMorePads()
public java.util.Enumeration enumPads()
public void postMessage(Message message)
public int getState(int[] resState, int[] resPending, long timeout)
public int getStateNext(int current, int pending)
public int getTransition(int current, int next)
public int getTransitionCurrent(int transition)
public int getTransitionNext(int transition)
public int continueState(int result)
public void abortState()
public void lostState()
public final int setState(int newState)
public boolean sendEvent(Event event)
public boolean query(Query query)