public class CompressedJavaSource extends DSFilter implements java.beans.PropertyChangeListener
DSFilter.DSPin| Modifier and Type | Field and Description |
|---|---|
static int |
BLOCKING
Source flags for use in DSGraph.insertCompressedJavaSource(...)
|
static int |
CALLBACK
Source flags for use in DSGraph.insertCompressedJavaSource(...)
|
static int |
RUNNING
Source flags for use in DSGraph.insertCompressedJavaSource(...)
|
PINDIR_INPUT, PINDIR_OUTPUT| Modifier and Type | Method and Description |
|---|---|
void |
flush()
Removes all buffered samples.
|
int |
flushBuffers(boolean setUnderrun) |
int |
flushBuffers(int upToTime)
Removes samples with timestamps < %upToTime from the buffer.
|
int |
flushBuffers(int toTime,
boolean setUnderrun) |
int |
getBufferedTime()
Returns the time worth of data currently preloaded.
|
DSFiltergraph |
getGraph() |
int |
getMaxBufferedTime() |
DSMediaType |
getMediaType() |
int |
getSamplesBuffered() |
int |
getSampleTimeAt(int bufferPos) |
int |
getTime()
Returns the time of the sample delivered to the native filter last.
|
void |
propertyChange(java.beans.PropertyChangeEvent pe) |
int |
putSample(JSampleBuffer jsb)
Used by PUSH and ASYNC sources, adds a sample to the queue that the filter manages.
|
void |
setFlag(int flag,
int intVal,
float floatVal) |
void |
shutDown(boolean terminate) |
void |
start() |
applyPropPageSettings, closePropPage, connectDownstream, connectWithFormat, disconnect, dumpConnections, embedPropertiesPage, getCLSID, getFiltergraph, getFilterInfo, getFilterState, getID, getInputs, getName, getOutputs, getPin, getPin, getPin, getPins, getPropPageCount, getPropPageSize, getPropPageTitles, loadFilterState, renderEx, renderPin, saveFilterState, setParameter, showPropertiesDialog, toStringpublic static final int RUNNING
public static final int BLOCKING
public static final int CALLBACK
public void start()
throws DSJException
DSJExceptionpublic void shutDown(boolean terminate)
public DSFiltergraph getGraph()
public int putSample(JSampleBuffer jsb)
public DSMediaType getMediaType()
public int getSamplesBuffered()
public int getBufferedTime()
public int getMaxBufferedTime()
public int getSampleTimeAt(int bufferPos)
public void flush()
public int flushBuffers(int toTime,
boolean setUnderrun)
public int flushBuffers(int upToTime)
public int flushBuffers(boolean setUnderrun)
public void setFlag(int flag,
int intVal,
float floatVal)
public int getTime()
public void propertyChange(java.beans.PropertyChangeEvent pe)
propertyChange in interface java.beans.PropertyChangeListener