Modifier and Type | Class and Description |
---|---|
static interface |
BaseSrc.HANDOFF
|
Element.NO_MORE_PADS, Element.PAD_ADDED, Element.PAD_REMOVED
GObject.GCallback
NativeObject.Initializer
defaultInit, ownsHandle
Constructor and Description |
---|
BaseSrc(NativeObject.Initializer init) |
Modifier and Type | Method and Description |
---|---|
void |
connect(BaseSrc.HANDOFF listener)
Add a listener for the
handoff signal on this source |
void |
disconnect(BaseSrc.HANDOFF listener)
Remove a listener for the
handoff signal |
long |
getBlocksize() |
boolean |
getTimestamp() |
boolean |
isLive() |
boolean |
newSeamlessSegment(long start,
long stop,
long position) |
boolean |
queryLatency(boolean[] live,
ClockTime[] min_latency,
ClockTime[] max_latency) |
void |
setBlocksize(long blocksize) |
void |
setFormat(Format format) |
void |
setLive(boolean live) |
void |
setTimestamp(boolean timestamp) |
FlowReturn |
waitPlaying() |
addPad, connect, connect, connect, disconnect, disconnect, disconnect, getBaseTime, getBus, getClock, getFactory, getPad, getPads, getRequestPad, getSinkPads, getSrcPads, getStartTime, getState, getState, getState, getState, getStaticPad, isPlaying, link, link, linkMany, linkPads, linkPadsFiltered, makeRawElement, pause, play, postMessage, ready, releaseRequestPad, removePad, sendEvent, setBaseTime, setCaps, setLockedState, setStartTime, setState, stop, syncStateWithParent, unlink, unlinkMany, unlinkPads
addListenerProxy, getName, getParent, initializer, initializer, ref, removeListenerProxy, setName, steal, toString, unref
addCallback, connect, connect, connect, disconnect, disconnect, disposeNativeHandle, emit, emit, g_signal_connect, get, getPointer, getPropertyDefaultValue, getPropertyMaximumValue, getPropertyMinimumValue, getType, invalidate, objectForX, removeCallback, set
classFor, disown, dispose, equals, finalize, getNativeAddress, handle, hashCode, initializer, instanceFor, isDisposed, nativeValue, objectFor, objectFor, objectFor, objectFor
public BaseSrc(NativeObject.Initializer init)
public FlowReturn waitPlaying()
public void setLive(boolean live)
public boolean isLive()
public void setFormat(Format format)
public boolean queryLatency(boolean[] live, ClockTime[] min_latency, ClockTime[] max_latency)
public void setBlocksize(long blocksize)
public long getBlocksize()
public void setTimestamp(boolean timestamp)
public boolean getTimestamp()
public boolean newSeamlessSegment(long start, long stop, long position)
public void connect(BaseSrc.HANDOFF listener)
handoff
signal on this sourcelistener
- The listener to be called when a Buffer
is ready.public void disconnect(BaseSrc.HANDOFF listener)
handoff
signallistener
- The listener that was previously added.