public class RawBufferMux extends AbstractMultiplexer
inputFormats, numTracks, outputContentDescriptor
BUFFER_PROCESSED_FAILED, BUFFER_PROCESSED_OK, INPUT_BUFFER_NOT_CONSUMED, OUTPUT_BUFFER_NOT_FILLED, PLUGIN_TERMINATED
Modifier | Constructor and Description |
---|---|
|
RawBufferMux() |
protected |
RawBufferMux(ContentDescriptor contentDescriptor) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
DataSource |
getDataOutput() |
Format[] |
getSupportedInputFormats() |
ContentDescriptor[] |
getSupportedOutputContentDescriptors(Format[] inputs) |
void |
open() |
int |
process(Buffer buffer,
int trackID) |
Format |
setInputFormat(Format format,
int trackID) |
int |
setNumTracks(int numTracks) |
setContentDescriptor
getName, reset
addControl, getControl, getControls, removeControl
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getControl, getControls
protected RawBufferMux(ContentDescriptor contentDescriptor)
public RawBufferMux()
public DataSource getDataOutput()
public Format[] getSupportedInputFormats()
public void close()
close
in interface PlugIn
close
in class AbstractPlugIn
public void open() throws ResourceUnavailableException
open
in interface PlugIn
open
in class AbstractPlugIn
ResourceUnavailableException
public ContentDescriptor[] getSupportedOutputContentDescriptors(Format[] inputs)
public int process(Buffer buffer, int trackID)
public int setNumTracks(int numTracks)
setNumTracks
in interface Multiplexer
setNumTracks
in class AbstractMultiplexer
public Format setInputFormat(Format format, int trackID)
setInputFormat
in interface Multiplexer
setInputFormat
in class AbstractMultiplexer