Some import cleanups from Dave.

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@662 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Michael Bayne
2008-09-25 22:16:10 +00:00
parent 8590d5650b
commit 8e69ff612e
120 changed files with 356 additions and 231 deletions
@@ -21,13 +21,13 @@
package com.threerings.openal;
import java.util.ArrayList;
import java.io.File;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.util.ArrayList;
/**
* An audio stream read from one or more files.
*/
@@ -23,17 +23,18 @@ package com.threerings.openal;
import java.io.IOException;
import java.io.InputStream;
import java.nio.ByteBuffer;
import java.nio.ShortBuffer;
import org.lwjgl.openal.AL10;
import javazoom.jl.decoder.Bitstream;
import javazoom.jl.decoder.Decoder;
import javazoom.jl.decoder.Header;
import javazoom.jl.decoder.JavaLayerException;
import javazoom.jl.decoder.SampleBuffer;
import org.lwjgl.openal.AL10;
/**
* Decodes MP3 streams.
*/
@@ -3,14 +3,14 @@
package com.threerings.openal;
import static com.threerings.media.Log.log;
import java.util.Map;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.nio.ByteBuffer;
import java.util.Map;
import javax.sound.sampled.AudioFileFormat;
import javax.sound.sampled.AudioFormat;
@@ -34,6 +34,8 @@ import com.threerings.media.sound.SoundLoader;
import com.threerings.media.sound.SoundPlayer;
import com.threerings.media.timer.MediaTimer;
import static com.threerings.media.Log.log;
/**
* Implements the abstract pieces of {@link SoundPlayer} via OpenAL.
*/
@@ -21,13 +21,11 @@
package com.threerings.openal;
import static com.threerings.openal.Log.log;
import java.nio.IntBuffer;
import java.util.ArrayList;
import java.util.HashMap;
import java.nio.IntBuffer;
import org.lwjgl.BufferUtils;
import org.lwjgl.openal.AL;
import org.lwjgl.openal.AL10;
@@ -41,6 +39,8 @@ import com.samskivert.util.RunQueue;
import com.threerings.openal.ClipBuffer.Observer;
import static com.threerings.openal.Log.log;
/**
* An interface to the OpenAL library that provides a number of additional services:
*
+2 -2
View File
@@ -21,10 +21,10 @@
package com.threerings.openal;
import java.nio.IntBuffer;
import java.util.ArrayList;
import java.nio.IntBuffer;
import org.lwjgl.BufferUtils;
import org.lwjgl.openal.AL10;