org.eml.MMAX2.gui.sound
Class Player

java.lang.Object
  extended by org.eml.MMAX2.gui.sound.Player

public class Player
extends java.lang.Object


Constructor Summary
Player()
           
 
Method Summary
static byte[] getBytesFromFile(java.io.File file, long offset, long length)
           
static void main(java.lang.String[] args)
           
static void playMP3Sound(java.lang.String fileName, java.lang.String cpBaseDataPath)
           
static void playWAVSound(java.lang.String WAVfileName, long offset, long length)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Player

public Player()
Method Detail

main

public static void main(java.lang.String[] args)

getBytesFromFile

public static byte[] getBytesFromFile(java.io.File file,
                                      long offset,
                                      long length)
                               throws java.io.IOException
Throws:
java.io.IOException

playWAVSound

public static void playWAVSound(java.lang.String WAVfileName,
                                long offset,
                                long length)

playMP3Sound

public static void playMP3Sound(java.lang.String fileName,
                                java.lang.String cpBaseDataPath)