Class AiffLoader
java.lang.Object
de.pottgames.tuningfork.AiffLoader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SoundBufferload(com.badlogic.gdx.files.FileHandle file) Loads an aiff file into aSoundBuffer.static SoundBufferload(AiffInputStream input) Loads aSoundBufferfrom aAiffInputStream.static SoundBufferLoads an aiff file into aSoundBuffer.static SoundBufferload(InputStream stream) Loads aSoundBufferfrom anInputStreamand closes it afterwards.static ReadableSoundBufferloadReadable(com.badlogic.gdx.files.FileHandle file) Loads an aiff file into aReadableSoundBuffer.static ReadableSoundBufferloadReadable(AiffInputStream input) Loads aReadableSoundBufferfrom aAiffInputStream.static ReadableSoundBufferloadReadable(File file) Loads an aiff file into aReadableSoundBuffer.static ReadableSoundBufferloadReadable(InputStream stream) Loads aReadableSoundBufferfrom anInputStreamand closes it afterwards.static ReadableSoundBufferloadReadableReverse(com.badlogic.gdx.files.FileHandle file) Loads an aiff file in reverse into aReadableSoundBuffer.static SoundBufferloadReverse(com.badlogic.gdx.files.FileHandle file) Loads an aiff file in reverse into aSoundBuffer.
-
Constructor Details
-
AiffLoader
public AiffLoader()
-
-
Method Details
-
load
Loads an aiff file into aSoundBuffer.- Parameters:
file- the file- Returns:
- the SoundBuffer
-
loadReadable
Loads an aiff file into aReadableSoundBuffer.- Parameters:
file- the file- Returns:
- the ReadableSoundBuffer
-
load
Loads an aiff file into aSoundBuffer.- Parameters:
file- the file handle- Returns:
- the SoundBuffer
-
loadReadable
Loads an aiff 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 aAiffInputStream.- Parameters:
input- the AiffInputStream- Returns:
- the SoundBuffer
-
loadReadable
Loads aReadableSoundBufferfrom aAiffInputStream.- Parameters:
input- the AiffInputStream- Returns:
- the SoundBuffer
-
loadReverse
Loads an aiff file in reverse into aSoundBuffer.- Parameters:
file- the file handle- Returns:
- the SoundBuffer
-
loadReadableReverse
Loads an aiff file in reverse into aReadableSoundBuffer.- Parameters:
file- the file handle- Returns:
- the ReadableSoundBuffer
-