net.sf.fmj.media.multiplexer
Class RawBufferMux
java.lang.Object
net.sf.fmj.media.AbstractControls
net.sf.fmj.media.AbstractPlugIn
net.sf.fmj.media.AbstractMultiplexer
net.sf.fmj.media.multiplexer.RawBufferMux
- All Implemented Interfaces:
- Controls, Multiplexer, PlugIn
- Direct Known Subclasses:
- RTPSyncBufferMux
public class RawBufferMux
- extends AbstractMultiplexer
Raw buffer multiplexer. Takes buffers as input, and provides them unmodified to the output.
- Author:
- Ken Larson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RawBufferMux
protected RawBufferMux(ContentDescriptor contentDescriptor)
RawBufferMux
public RawBufferMux()
getDataOutput
public DataSource getDataOutput()
getSupportedInputFormats
public Format[] getSupportedInputFormats()
close
public void close()
- Specified by:
close
in interface PlugIn
- Overrides:
close
in class AbstractPlugIn
open
public void open()
throws ResourceUnavailableException
- Specified by:
open
in interface PlugIn
- Overrides:
open
in class AbstractPlugIn
- Throws:
ResourceUnavailableException
getSupportedOutputContentDescriptors
public ContentDescriptor[] getSupportedOutputContentDescriptors(Format[] inputs)
process
public int process(Buffer buffer,
int trackID)
setNumTracks
public int setNumTracks(int numTracks)
- Specified by:
setNumTracks
in interface Multiplexer
- Overrides:
setNumTracks
in class AbstractMultiplexer
setInputFormat
public Format setInputFormat(Format format,
int trackID)
- Specified by:
setInputFormat
in interface Multiplexer
- Overrides:
setInputFormat
in class AbstractMultiplexer