Class LoopingAudioSource


public class LoopingAudioSource extends BufferedAudioSource
  • Constructor Details

    • LoopingAudioSource

      public LoopingAudioSource(AudioBuffer buffer)
    • LoopingAudioSource

      public LoopingAudioSource(AudioBuffer buffer, Resampler resampler)
  • Method Details

    • renderInternal

      protected void renderInternal(AudioBuffer buffer)
      Overrides:
      renderInternal in class AudioSource
    • isLoopEnabled

      public boolean isLoopEnabled()
    • setLoopEnabled

      public void setLoopEnabled(boolean loopEnabled)
    • getLoopStartPosition

      public int getLoopStartPosition()
    • setLoopStartPosition

      public void setLoopStartPosition(int loopStartPosition)
    • getLoopEndPosition

      public int getLoopEndPosition()
    • setLoopEndPosition

      public void setLoopEndPosition(int loopEndPosition)
    • setLoopRange

      public void setLoopRange(int loopStartPosition, int loopEndPosition)