Class FlacLoader
java.lang.Object
de.pottgames.tuningfork.FlacLoader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SoundBufferload(com.badlogic.gdx.files.FileHandle file) Loads a flac file into aSoundBuffer.static SoundBufferLoads a flac file into aSoundBuffer.static SoundBufferload(InputStream stream) Loads a flac stream into aSoundBufferand closes it afterward.static ReadableSoundBufferloadReadable(com.badlogic.gdx.files.FileHandle file) Loads a flac file into aReadableSoundBuffer.static ReadableSoundBufferloadReadable(File file) Loads a flac file into aReadableSoundBuffer.static ReadableSoundBufferloadReadable(InputStream stream) Loads a flac stream into aReadableSoundBufferand closes it afterward.static ReadableSoundBufferloadReadableReverse(com.badlogic.gdx.files.FileHandle file) Loads a flac file in reverse into aReadableSoundBuffer.static SoundBufferloadReverse(com.badlogic.gdx.files.FileHandle file) Loads a flac file in reverse into aSoundBuffer.
-
Constructor Details
-
FlacLoader
public FlacLoader()
-
-
Method Details
-
load
Loads a flac file into aSoundBuffer.- Parameters:
file- the file handle- Returns:
- the SoundBuffer
-
loadReadable
Loads a flac file into aReadableSoundBuffer.- Parameters:
file- the file handle- Returns:
- the SoundBuffer
-
load
Loads a flac file into aSoundBuffer.- Parameters:
file- the file- Returns:
- the SoundBuffer
-
loadReadable
Loads a flac file into aReadableSoundBuffer.- Parameters:
file- the file- Returns:
- the SoundBuffer
-
load
Loads a flac stream into aSoundBufferand closes it afterward.- Parameters:
stream- the input stream- Returns:
- the SoundBuffer
-
loadReadable
Loads a flac stream into aReadableSoundBufferand closes it afterward.- Parameters:
stream- the input stream- Returns:
- the SoundBuffer
-
loadReverse
Loads a flac file in reverse into aSoundBuffer.- Parameters:
file- the file handle- Returns:
- the SoundBuffer
-
loadReadableReverse
Loads a flac file in reverse into aReadableSoundBuffer.- Parameters:
file- the file handle- Returns:
- the SoundBuffer
-