Class SoundFile

java.lang.Object
games.stendhal.client.sound.system.SignalProcessor
games.stendhal.client.sound.manager.SoundFile
All Implemented Interfaces:
Cloneable

public class SoundFile extends SignalProcessor implements Cloneable
Author:
silvio
  • Constructor Details

  • Method Details

    • getNumChannels

      public int getNumChannels()
    • getSampleRate

      public int getSampleRate()
    • close

      public void close()
    • clone

      public SoundFile clone()
      Overrides:
      clone in class Object
    • restart

      public void restart()
    • generate

      protected boolean generate()
      Description copied from class: SignalProcessor
      This function should be overwritten by all classes that want to generate an PCM audio stream e.g. a mp3 decoder, a frequency generator, ...
      Overrides:
      generate in class SignalProcessor
      Returns:
      true, until the stream is finished