minor adjustments around audio

master
Ondřej Hruška 11 years ago
parent 3b0713ff3a
commit 476ca8ba61
  1. 4
      src/mightypork/gamecore/backends/lwjgl/InitTaskRedirectSlickLog.java
  2. 4
      src/mightypork/gamecore/backends/lwjgl/audio/SlickAudio.java
  3. 2
      src/mightypork/gamecore/backends/lwjgl/audio/SlickAudioModule.java

@ -1,8 +1,8 @@
package mightypork.gamecore.backends.lwjgl; package mightypork.gamecore.backends.lwjgl;
import mightypork.gamecore.core.InitTask; import mightypork.gamecore.core.init.InitTask;
import mightypork.gamecore.core.OptionalInitTask; import mightypork.gamecore.core.init.OptionalInitTask;
import mightypork.utils.logging.writers.LogWriter; import mightypork.utils.logging.writers.LogWriter;

@ -17,7 +17,7 @@ import org.newdawn.slick.openal.SoundStore;
* *
* @author Ondřej Hruška (MightyPork) * @author Ondřej Hruška (MightyPork)
*/ */
public class SlickSound extends DeferredAudio { public class SlickAudio extends DeferredAudio {
private double pauseLoopPosition = 0; private double pauseLoopPosition = 0;
private boolean looping = false; private boolean looping = false;
@ -35,7 +35,7 @@ public class SlickSound extends DeferredAudio {
* *
* @param resourceName resource path * @param resourceName resource path
*/ */
public SlickSound(String resourceName) public SlickAudio(String resourceName)
{ {
super(resourceName); super(resourceName);
} }

@ -69,7 +69,7 @@ public class SlickAudioModule extends AudioModule {
@Override @Override
protected DeferredAudio doCreateResource(String res) protected DeferredAudio doCreateResource(String res)
{ {
return new SlickSound(res); return new SlickAudio(res);
} }
} }

Loading…
Cancel
Save