net.sf.fmj.filtergraph
Class DemuxNode
java.lang.Object
net.sf.fmj.filtergraph.Node
net.sf.fmj.filtergraph.DemuxNode
public class DemuxNode
- extends Node
A node in a filter graph for a Demultiplexer.
- Author:
- Ken Larson
Fields inherited from class net.sf.fmj.filtergraph.Node |
logger |
Methods inherited from class net.sf.fmj.filtergraph.Node |
addDestLink, close, getDestLink, getDestLink, getDestLink, getInputPin, getInputPinByTrack, getNumDestLinks, getNumInputPins, getNumOutputPins, getOutputBuffer, getOutputPin, getOutputPinByTrack, getPlugIn, open, print, propagateDuplicate, removeDestLink, setInputPin, setOutputBuffer, setOutputPin |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sequenceNumber
public long sequenceNumber
DemuxNode
public DemuxNode(Format format,
Demultiplexer demux,
Track[] tracks)
getPlugInType
public int getPlugInType()
- Specified by:
getPlugInType
in class Node
duplicate
public Node duplicate()
- Specified by:
duplicate
in class Node
setTracks
public void setTracks(Track[] tracks)
getTracks
public Track[] getTracks()
getInputFormat
public Format getInputFormat()
- Specified by:
getInputFormat
in class Node
getDemux
public Demultiplexer getDemux()
start
public void start()
throws java.io.IOException
- Overrides:
start
in class Node
- Throws:
java.io.IOException
stop
public void stop()
- Overrides:
stop
in class Node
process
public int process(Buffer input,
int sourceTrackNumber,
int destTrackNumber,
int flags)
- Description copied from class:
Node
- sourceTrackNumber only used for demux, and destTrackNumber only used for mux.
- Specified by:
process
in class Node