net.sf.fmj.filtergraph
Class MuxNode
java.lang.Object
net.sf.fmj.filtergraph.Node
net.sf.fmj.filtergraph.MuxNode
public class MuxNode
- extends Node
A node in a filter graph for a Multiplexer (one input track only).
The graph will have a MuxNode for each input to a Multiplexer,
with the same Multiplexer.
- Author:
- Ken Larson
Fields inherited from class net.sf.fmj.filtergraph.Node |
logger |
Methods inherited from class net.sf.fmj.filtergraph.Node |
close, getDestLink, getDestLink, getDestLink, getInputPin, getInputPinByTrack, getNumDestLinks, getNumInputPins, getNumOutputPins, getOutputBuffer, getOutputPin, getOutputPinByTrack, getPlugIn, open, print, propagateDuplicate, removeDestLink, setInputPin, setOutputBuffer, setOutputPin, start, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MuxNode
public MuxNode(Multiplexer mux,
Format inputFormat,
int destTrack)
getPlugInType
public int getPlugInType()
- Specified by:
getPlugInType
in class Node
duplicate
public Node duplicate()
- Specified by:
duplicate
in class Node
getInputFormat
public Format getInputFormat()
- Specified by:
getInputFormat
in class Node
getMultiplexer
public Multiplexer getMultiplexer()
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
addDestLink
public void addDestLink(Link n)
- Overrides:
addDestLink
in class Node