public class PlaybackProcess extends PamProcess
For file analysis, playback is through a chosen sound card. For playback of real time data, the playbackSystem is hanbdled by the real time acquisition system - so samples stay synchronised.
PlaybackSystem
Constructor and Description |
---|
PlaybackProcess(PlaybackControl playbackControl) |
Modifier and Type | Method and Description |
---|---|
float |
getSampleRate() |
void |
newData(PamObservable o,
PamDataUnit arg) |
void |
noteNewSettings() |
void |
pamStart()
Called for each process to tell it to start (may not be necessary for
processes which are listening for data anyway).
|
void |
pamStop()
Stops the process.
|
void |
prepareProcess()
Called for each process before any of them receive the PamStart command
|
void |
setSampleRate(float sampleRate,
boolean notify)
New sample rate
|
absMillisecondsToSamples, absSamplesToMilliseconds, addOutputDataBlock, changedThreading, clearOldData, createAnnotations, destroyProcess, fillXMLElement, flushDataBlockBuffers, getAncestorDataBlock, getAnnotation, getChainPosition, getCpuPercent, getNumAnnotations, getNumOutputDataBlocks, getObserverName, getObserverObject, getOfflineData, getOutputDataBlock, getOutputDataBlocks, getPamControlledUnit, getParentDataBlock, getParentProcess, getProcessName, getRawSourceDataBlock, getRequiredDataHistory, getSourceDataBlock, getSourceProcess, isCanMultiThread, makePamProcess, masterClockUpdate, notifyModelChanged, processNewBuoyData, relMillisecondsToSamples, relSamplesToMilliseconds, removeAllDataBlocks, removeObservable, removeOutputDatablock, resetDataBlocks, saveViewerData, setCanMultiThread, setParentDataBlock, setParentDataBlock, setProcessName, setupProcess, toString, update, updateData
public PlaybackProcess(PlaybackControl playbackControl)
public void prepareProcess()
PamProcess
prepareProcess
in class PamProcess
public void setSampleRate(float sampleRate, boolean notify)
PamObserver
setSampleRate
in interface PamObserver
setSampleRate
in class PamProcess
notify
- Notify other PamObservers and PamObservables in the chain.public float getSampleRate()
getSampleRate
in class PamProcess
public void pamStart()
PamProcess
pamStart
in class PamProcess
public void pamStop()
PamProcess
pamStop
in class PamProcess
public void newData(PamObservable o, PamDataUnit arg)
newData
in class PamProcess
public void noteNewSettings()
noteNewSettings
in interface PamObserver
noteNewSettings
in class PamProcess