Class FlacLoader

java.lang.Object
de.pottgames.tuningfork.FlacLoader

public abstract class FlacLoader extends Object
  • Constructor Details

    • FlacLoader

      public FlacLoader()
  • Method Details

    • load

      public static SoundBuffer load(com.badlogic.gdx.files.FileHandle file)
      Loads a flac file into a SoundBuffer.
      Parameters:
      file - the file handle
      Returns:
      the SoundBuffer
    • loadReadable

      public static ReadableSoundBuffer loadReadable(com.badlogic.gdx.files.FileHandle file)
      Loads a flac file into a ReadableSoundBuffer.
      Parameters:
      file - the file handle
      Returns:
      the SoundBuffer
    • load

      public static SoundBuffer load(File file)
      Loads a flac file into a SoundBuffer.
      Parameters:
      file - the file
      Returns:
      the SoundBuffer
    • loadReadable

      public static ReadableSoundBuffer loadReadable(File file)
      Loads a flac file into a ReadableSoundBuffer.
      Parameters:
      file - the file
      Returns:
      the SoundBuffer
    • load

      public static SoundBuffer load(InputStream stream)
      Loads a flac stream into a SoundBuffer and closes it afterward.
      Parameters:
      stream - the input stream
      Returns:
      the SoundBuffer
    • loadReadable

      public static ReadableSoundBuffer loadReadable(InputStream stream)
      Loads a flac stream into a ReadableSoundBuffer and closes it afterward.
      Parameters:
      stream - the input stream
      Returns:
      the SoundBuffer
    • loadReverse

      public static SoundBuffer loadReverse(com.badlogic.gdx.files.FileHandle file)
      Loads a flac file in reverse into a SoundBuffer.
      Parameters:
      file - the file handle
      Returns:
      the SoundBuffer
    • loadReadableReverse

      public static ReadableSoundBuffer loadReadableReverse(com.badlogic.gdx.files.FileHandle file)
      Loads a flac file in reverse into a ReadableSoundBuffer.
      Parameters:
      file - the file handle
      Returns:
      the SoundBuffer