Package soundPlayback

Class PlaybackSystem

java.lang.Object
soundPlayback.PlaybackSystem
Direct Known Subclasses:
ASIOPlaybackSystem, FilePlayback, NIPlaybackSystem, SoundCardPlayback

public abstract class PlaybackSystem extends Object
Interface for soundplayback systems.
Author:
Doug Gillespie
  • Field Details Link icon

  • Constructor Details Link icon

    • PlaybackSystem Link icon

      public PlaybackSystem()
  • Method Details Link icon

    • prepareSystem Link icon

      public abstract boolean prepareSystem(PlaybackControl playbackControl, int nChannels, float sampleRate)
    • unPrepareSystem Link icon

      public abstract boolean unPrepareSystem()
    • getMaxChannels Link icon

      public abstract int getMaxChannels()
    • playData Link icon

      public abstract boolean playData(RawDataUnit[] data, double gain)
    • getDialogComponent Link icon

      public abstract PlaybackDialogComponent getDialogComponent()
      Get the swing component for the playback system.
      Returns:
      the swing component for the playback system.
    • getSettingsPane Link icon

      public abstract PlaybackSettingsPane getSettingsPane()
      Returns:
    • getName Link icon

      public abstract String getName()
      Returns:
      System name
    • mustSameIOSampleRate Link icon

      public boolean mustSameIOSampleRate()
      Must use the same sample rate for output as for input when running in real time.
      Returns:
      true if must use same sample rate for O as for I in real time.
    • addChangeObserver Link icon

      public void addChangeObserver(PlaybackChangeObserver playbackChangeObserver)
    • removeChangeObserver Link icon

      public void removeChangeObserver(PlaybackChangeObserver playbackChangeObserver)
    • notifyObservers Link icon

      public void notifyObservers()
    • getDeviceState Link icon

      public PlayDeviceState getDeviceState()
    • getDeviceName Link icon

      public String getDeviceName()
      Returns:
      the name of the actual playback device