espresso3d.engine.fileloaders
Class E3DSoundLoader

java.lang.Object
  extended byespresso3d.engine.fileloaders.E3DSoundLoader

public class E3DSoundLoader
extends java.lang.Object

Author:
Curt TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Constructor Summary
E3DSoundLoader()
           
 
Method Summary
static E3DWaveFile loadSound(java.lang.String fileName, boolean fromJar)
           
static E3DSound loadSoundIntoAL(E3DEngine engine, java.lang.String soundName, E3DWaveFile waveFile)
           
static void loadSoundSet(E3DEngine engine, java.lang.String workingDirectory, java.lang.String fullPathSoundSet, java.util.HashMap retSoundSet)
           
static void loadSoundSetFromJar(E3DEngine engine, java.lang.String soundSetName, java.util.HashMap retSoundSet)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

E3DSoundLoader

public E3DSoundLoader()
Method Detail

loadSoundSet

public static void loadSoundSet(E3DEngine engine,
                                java.lang.String workingDirectory,
                                java.lang.String fullPathSoundSet,
                                java.util.HashMap retSoundSet)
                         throws E3DInvalidSoundFormatException,
                                E3DInvalidFileFormatException,
                                java.io.IOException
Throws:
E3DInvalidSoundFormatException
E3DInvalidFileFormatException
java.io.IOException

loadSoundSetFromJar

public static void loadSoundSetFromJar(E3DEngine engine,
                                       java.lang.String soundSetName,
                                       java.util.HashMap retSoundSet)
                                throws E3DInvalidSoundFormatException,
                                       E3DInvalidFileFormatException,
                                       java.io.IOException
Throws:
E3DInvalidSoundFormatException
E3DInvalidFileFormatException
java.io.IOException

loadSound

public static E3DWaveFile loadSound(java.lang.String fileName,
                                    boolean fromJar)
                             throws java.io.IOException,
                                    E3DInvalidSoundFormatException
Throws:
java.io.IOException
E3DInvalidSoundFormatException

loadSoundIntoAL

public static E3DSound loadSoundIntoAL(E3DEngine engine,
                                       java.lang.String soundName,
                                       E3DWaveFile waveFile)
                                throws E3DInvalidSoundFormatException,
                                       java.io.IOException
Throws:
E3DInvalidSoundFormatException
java.io.IOException