Package paulscode.sound.libraries
Class LibraryLWJGLOpenAL
java.lang.Object
paulscode.sound.Library
paulscode.sound.libraries.LibraryLWJGLOpenAL
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate HashMapprivate static booleanprivate static final booleanprivate FloatBufferprivate FloatBufferprivate FloatBufferprivate static final booleanprivate static final booleanFields inherited from class paulscode.sound.Library
bufferMap, listener, normalChannels, sourceMap, streamingChannels, streamThread -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanprivate static booleanalPitchSupported(boolean bool, boolean bool2) private booleanvoidcleanup()voidcopySources(HashMap hashMap) protected ChannelcreateChannel(int int2) static Stringstatic StringgetTitle()voidinit()static booleanbooleanloadSound(FilenameURL filenameURL) voidnewSource(boolean bool, boolean bool2, boolean bool3, String string, FilenameURL filenameURL, float float2, float float3, float float4, int int2, float float5) voidquickPlay(boolean bool, boolean bool2, boolean bool3, String string, FilenameURL filenameURL, float float2, float float3, float float4, int int2, float float5, boolean bool4) voidrawDataStream(AudioFormat audioFormat, boolean bool, String string, float float2, float float3, float float4, int int2, float float5) voidsetListenerAngle(float float2) voidsetListenerData(ListenerData listenerData) voidsetListenerOrientation(float float2, float float3, float float4, float float5, float float6, float float7) voidsetListenerPosition(float float2, float float3, float float4) voidsetMasterVolume(float float2) voidunloadSound(String string) Methods inherited from class paulscode.sound.Library
activate, checkFadeVolumes, cull, dequeueSound, errorCheck, errorMessage, fadeOut, fadeOutIn, feedRawAudioData, feedRawAudioData, flush, getListenerData, getMidiChannel, getPitch, getSource, getSources, getVolume, importantMessage, listenerMoved, loadMidi, message, midiSourcename, moveListener, pause, play, play, printStackTrace, queueSound, removeSource, removeTemporarySources, replaySources, rewind, setAttenuation, setDistOrRoll, setLooping, setMidiChannel, setPitch, setPosition, setPriority, setTemporary, setVolume, stop, turnListener, unloadMidi
-
Field Details
-
GET
private static final boolean GET- See Also:
-
SET
private static final boolean SET- See Also:
-
XXX
private static final boolean XXX- See Also:
-
alPitchSupported
private static boolean alPitchSupported -
listenerPositionAL
-
listenerOrientation
-
listenerVelocity
-
ALBufferMap
-
-
Constructor Details
-
LibraryLWJGLOpenAL
public LibraryLWJGLOpenAL()
-
-
Method Details
-
init
public void init() -
libraryCompatible
public static boolean libraryCompatible() -
createChannel
- Overrides:
createChannelin classLibrary
-
cleanup
public void cleanup() -
loadSound
-
unloadSound
- Overrides:
unloadSoundin classLibrary
-
setMasterVolume
public void setMasterVolume(float float2) - Overrides:
setMasterVolumein classLibrary
-
newSource
public void newSource(boolean bool, boolean bool2, boolean bool3, String string, FilenameURL filenameURL, float float2, float float3, float float4, int int2, float float5) -
rawDataStream
public void rawDataStream(AudioFormat audioFormat, boolean bool, String string, float float2, float float3, float float4, int int2, float float5) - Overrides:
rawDataStreamin classLibrary
-
quickPlay
public void quickPlay(boolean bool, boolean bool2, boolean bool3, String string, FilenameURL filenameURL, float float2, float float3, float float4, int int2, float float5, boolean bool4) -
copySources
- Overrides:
copySourcesin classLibrary
-
setListenerPosition
public void setListenerPosition(float float2, float float3, float float4) - Overrides:
setListenerPositionin classLibrary
-
setListenerAngle
public void setListenerAngle(float float2) - Overrides:
setListenerAnglein classLibrary
-
setListenerOrientation
public void setListenerOrientation(float float2, float float3, float float4, float float5, float float6, float float7) - Overrides:
setListenerOrientationin classLibrary
-
setListenerData
- Overrides:
setListenerDatain classLibrary
-
checkALError
private boolean checkALError() -
alPitchSupported
public static boolean alPitchSupported() -
alPitchSupported
private static boolean alPitchSupported(boolean bool, boolean bool2) -
getTitle
-
getDescription
-
getClassName
- Overrides:
getClassNamein classLibrary
-