inpro.sphinx.frontend
Class RtpRecvProcessor
java.lang.Object
edu.cmu.sphinx.util.props.ConfigurableAdapter
edu.cmu.sphinx.frontend.BaseDataProcessor
inpro.sphinx.frontend.RtpRecvProcessor
- All Implemented Interfaces:
- edu.cmu.sphinx.frontend.DataProcessor, edu.cmu.sphinx.util.props.Configurable
public class RtpRecvProcessor
- extends edu.cmu.sphinx.frontend.BaseDataProcessor
our new implementation of an RTP reader using NIST JRtp , deprecates RTPDataSource
- Author:
- timo
Fields inherited from class edu.cmu.sphinx.util.props.ConfigurableAdapter |
logger |
Methods inherited from class edu.cmu.sphinx.frontend.BaseDataProcessor |
getPredecessor, getTimer |
Methods inherited from class edu.cmu.sphinx.util.props.ConfigurableAdapter |
getName, initLogger, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PROP_RTP_RECV_PORT
@S4Integer(defaultValue=42000)
public static final java.lang.String PROP_RTP_RECV_PORT
- See Also:
- Constant Field Values
recvPort
private int recvPort
q
private java.util.concurrent.BlockingQueue<edu.cmu.sphinx.frontend.Data> q
sampleNumber
private long sampleNumber
RtpRecvProcessor
public RtpRecvProcessor()
resetFrameState
private void resetFrameState()
getData
public edu.cmu.sphinx.frontend.Data getData()
throws edu.cmu.sphinx.frontend.DataProcessingException
- Specified by:
getData
in interface edu.cmu.sphinx.frontend.DataProcessor
- Specified by:
getData
in class edu.cmu.sphinx.frontend.BaseDataProcessor
- Throws:
edu.cmu.sphinx.frontend.DataProcessingException
initialize
public void initialize()
- Specified by:
initialize
in interface edu.cmu.sphinx.frontend.DataProcessor
- Overrides:
initialize
in class edu.cmu.sphinx.frontend.BaseDataProcessor
setPredecessor
public void setPredecessor(edu.cmu.sphinx.frontend.DataProcessor predecessor)
- Specified by:
setPredecessor
in interface edu.cmu.sphinx.frontend.DataProcessor
- Overrides:
setPredecessor
in class edu.cmu.sphinx.frontend.BaseDataProcessor
newProperties
public void newProperties(edu.cmu.sphinx.util.props.PropertySheet ps)
throws edu.cmu.sphinx.util.props.PropertyException
- Specified by:
newProperties
in interface edu.cmu.sphinx.util.props.Configurable
- Overrides:
newProperties
in class edu.cmu.sphinx.util.props.ConfigurableAdapter
- Throws:
edu.cmu.sphinx.util.props.PropertyException