Package dbht

Class DbHtProcess

All Implemented Interfaces:
PamObserver, ProcessAnnotator

public class DbHtProcess extends PamProcess
  • Field Details

    • nanValue

      public static final int nanValue
      value to be considered Double.Nan as an int
      See Also:
  • Constructor Details

    • DbHtProcess

      public DbHtProcess(DbHtControl dbHtControl)
  • Method Details

    • newData

      public void newData(PamObservable o, PamDataUnit pamDataUnit)
      Overrides:
      newData in class PamProcess
    • setupProcess

      public void setupProcess()
      Description copied from class: PamProcess
      called for every process once the systemmodel has been created. this is a good time to check out and find input data blocks and similar tasks.
      Overrides:
      setupProcess in class PamProcess
    • prepareProcess

      public void prepareProcess()
      Description copied from class: PamProcess
      Called for each process before any of them receive the PamStart command
      Overrides:
      prepareProcess in class PamProcess
    • pamStart

      public void pamStart()
      Description copied from class: PamProcess
      Called for each process to tell it to start (may not be necessary for processes which are listening for data anyway).
      Specified by:
      pamStart in class PamProcess
    • pamStop

      public void pamStop()
      Description copied from class: PamProcess
      Stops the process.
      Specified by:
      pamStop in class PamProcess
    • getRawSourceDataBlock

      public PamRawDataBlock getRawSourceDataBlock()
      Description copied from class: PamProcess
      Find the absolute source of raw audio data if one exists

      Overrides:
      getRawSourceDataBlock in class PamProcess
      Returns:
      the sourceDataBlock
    • getWaveOutDataBlock

      public PamRawDataBlock getWaveOutDataBlock()
      Returns:
      the waveOutDataBlock
    • getMeasureDataBlock

      public DbHtDataBlock getMeasureDataBlock()
      Returns:
      the measureDataBlock