Class QoaLoader
java.lang.Object
de.pottgames.tuningfork.QoaLoader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SoundBufferload(com.badlogic.gdx.files.FileHandle file) Loads a qoa file into aSoundBuffer.static SoundBufferload(QoaInputStream input) Loads aSoundBufferfrom aQoaInputStream.static SoundBufferLoads a qoa file into aSoundBuffer.static SoundBufferload(InputStream stream) Loads aSoundBufferfrom anInputStreamand closes it afterwards.static ReadableSoundBufferloadReadable(com.badlogic.gdx.files.FileHandle file) Loads a qoa file into aReadableSoundBuffer.static ReadableSoundBufferloadReadable(QoaInputStream input) Loads aReadableSoundBufferfrom aQoaInputStream.static ReadableSoundBufferloadReadable(File file) Loads a qoa file into aReadableSoundBuffer.static ReadableSoundBufferloadReadable(InputStream stream) Loads aReadableSoundBufferfrom anInputStreamand closes it afterwards.static ReadableSoundBufferloadReadableReverse(com.badlogic.gdx.files.FileHandle file) Loads a qoa file in reverse into aReadableSoundBuffer.static SoundBufferloadReverse(com.badlogic.gdx.files.FileHandle file) Loads a qoa file in reverse into aSoundBuffer.
-
Constructor Details
-
QoaLoader
public QoaLoader()
-
-
Method Details
-
load
Loads a qoa file into aSoundBuffer.- Parameters:
file- the file- Returns:
- the SoundBuffer
-
loadReadable
Loads a qoa file into aReadableSoundBuffer.- Parameters:
file- the file- Returns:
- the ReadableSoundBuffer
-
load
Loads a qoa file into aSoundBuffer.- Parameters:
file- the file handle- Returns:
- the SoundBuffer
-
loadReadable
Loads a qoa file into aReadableSoundBuffer.- Parameters:
file- the file handle- Returns:
- the ReadableSoundBuffer
-
load
Loads aSoundBufferfrom anInputStreamand closes it afterwards.- Parameters:
stream- the input stream- Returns:
- the SoundBuffer
-
loadReadable
Loads aReadableSoundBufferfrom anInputStreamand closes it afterwards.- Parameters:
stream- the input stream- Returns:
- the ReadableSoundBuffer
-
load
Loads aSoundBufferfrom aQoaInputStream.- Parameters:
input- the QoaInputStream- Returns:
- the SoundBuffer
-
loadReadable
Loads aReadableSoundBufferfrom aQoaInputStream.- Parameters:
input- the QoaInputStream- Returns:
- the ReadableSoundBuffer
-
loadReverse
Loads a qoa file in reverse into aSoundBuffer.- Parameters:
file- the file handle- Returns:
- the SoundBuffer
-
loadReadableReverse
Loads a qoa file in reverse into aReadableSoundBuffer.- Parameters:
file- the file handle- Returns:
- the ReadableSoundBuffer
-