Class SoundInfo

java.lang.Object
com.toxicrain.rainengine.sound.SoundInfo

public class SoundInfo extends Object
The SoundInfo class provides information about the given sound like the WavInfo and the id for the buffer
  • Field Details

    • wavInfo

      public final WavInfo wavInfo
    • bufferId

      public final int bufferId
  • Constructor Details

    • SoundInfo

      public SoundInfo(WavInfo wavInfo, int bufferId)
      Make a new SoundInfo
      Parameters:
      wavInfo - The WavInfo class that holds basic info about the audio file
      bufferId - The Buffer ID used to play the sound
  • Method Details

    • free

      public void free()