inpro.sphinx.frontend
Class DataThrottle
java.lang.Object
edu.cmu.sphinx.util.props.ConfigurableAdapter
edu.cmu.sphinx.frontend.BaseDataProcessor
inpro.sphinx.frontend.DataThrottle
- All Implemented Interfaces:
- edu.cmu.sphinx.frontend.DataProcessor, edu.cmu.sphinx.util.props.Configurable
public class DataThrottle
- extends edu.cmu.sphinx.frontend.BaseDataProcessor
a data processor that throttles the data flow and re-aligns
microphone and IU world startup times
Fields inherited from class edu.cmu.sphinx.util.props.ConfigurableAdapter |
logger |
Method Summary |
edu.cmu.sphinx.frontend.Data |
getData()
|
void |
newProperties(edu.cmu.sphinx.util.props.PropertySheet ps)
|
Methods inherited from class edu.cmu.sphinx.frontend.BaseDataProcessor |
getPredecessor, getTimer, initialize, setPredecessor |
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_SPEED
@S4Double(defaultValue=1.0)
public static final java.lang.String PROP_SPEED
- See Also:
- Constant Field Values
startTime
private long startTime
speed
private double speed
DataThrottle
public DataThrottle()
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
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