Interface Loop

All Superinterfaces:
Playable
All Known Implementing Classes:
Loop.Silence

public interface Loop extends Playable
Represents a looped sound (i.e. music).
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    A noop loop.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    fadeIn(float fadeMillis)
    Fades this loop in over the specified duration.
    void
    fadeOut(float fadeMillis)
    Fades this loop out over the specified duration.

    Methods inherited from interface tripleplay.sound.Playable

    isPlaying, play, release, setVolume, stop, volume
  • Method Details

    • fadeIn

      void fadeIn(float fadeMillis)
      Fades this loop in over the specified duration.
    • fadeOut

      void fadeOut(float fadeMillis)
      Fades this loop out over the specified duration.