- Updated flibitEFX with a Filter class and renamed EFXEffectUnderwater.
- flibitEFX is now under the LGPLv3. Not sure why I picked 2[.1].
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* flibitEFX is free software: you can redistribute it and/or modify
|
* flibitEFX is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Lesser General Public License as published by
|
* it under the terms of the GNU Lesser General Public License as published by
|
||||||
* the Free Software Foundation, either version 2 of the License, or
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
* (at your option) any later version.
|
* (at your option) any later version.
|
||||||
*
|
*
|
||||||
* flibitEFX is distributed in the hope that it will be useful,
|
* flibitEFX is distributed in the hope that it will be useful,
|
||||||
|
|||||||
Binary file not shown.
@@ -42,7 +42,7 @@ import java.nio.FloatBuffer;
|
|||||||
import java.nio.IntBuffer;
|
import java.nio.IntBuffer;
|
||||||
import java.nio.ShortBuffer;
|
import java.nio.ShortBuffer;
|
||||||
|
|
||||||
import com.flibitijibibo.flibitEFX.EFXUnderwater;
|
import com.flibitijibibo.flibitEFX.EFXEffectUnderwater;
|
||||||
import org.lwjgl.LWJGLException;
|
import org.lwjgl.LWJGLException;
|
||||||
import org.lwjgl.openal.AL;
|
import org.lwjgl.openal.AL;
|
||||||
import org.lwjgl.openal.AL10;
|
import org.lwjgl.openal.AL10;
|
||||||
@@ -68,7 +68,7 @@ public final class LWJGLSoundImpl implements Sound {
|
|||||||
|
|
||||||
/** EFX Variables */
|
/** EFX Variables */
|
||||||
private int currentEffectIndex;
|
private int currentEffectIndex;
|
||||||
private EFXUnderwater underwaterEffect;
|
private EFXEffectUnderwater underwaterEffect;
|
||||||
|
|
||||||
// singleton
|
// singleton
|
||||||
private LWJGLSoundImpl() {
|
private LWJGLSoundImpl() {
|
||||||
@@ -153,7 +153,7 @@ public final class LWJGLSoundImpl implements Sound {
|
|||||||
private void initOpenALExtensions()
|
private void initOpenALExtensions()
|
||||||
{
|
{
|
||||||
Com.Printf("... using EFX effects:\n");
|
Com.Printf("... using EFX effects:\n");
|
||||||
underwaterEffect = new EFXUnderwater();
|
underwaterEffect = new EFXEffectUnderwater();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user