Class SoundSystem

java.lang.Object
java.lang.Thread
games.stendhal.client.sound.system.SoundSystem
All Implemented Interfaces:
Runnable

public class SoundSystem extends Thread
Thread to manage sound output.
Author:
silvio
  • Constructor Details

    • SoundSystem

      public SoundSystem(Mixer mixer, AudioFormat audioFormat, Time bufferDuration, int useMaxMixerLines)
    • SoundSystem

      public SoundSystem(SourceDataLine outputLine, Time bufferDuration)
  • Method Details

    • suspend

      public void suspend(Time delay)
    • proceed

      public void proceed(Time delay)
    • openOutput

      public SoundSystem.Output openOutput(AudioFormat audioFormat)
    • closeOutput

      public void closeOutput(SoundSystem.Output output)
    • closeAllOutputs

      public void closeAllOutputs()
    • exit

      public void exit(Time delay)
    • run

      public void run()
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread
    • tryToFindMixer

      public static Mixer tryToFindMixer(AudioFormat audioFormat)