pgbennett.jampal
Class AudioPlayer

java.lang.Object
  extended by pgbennett.jampal.AudioPlayer
All Implemented Interfaces:
java.lang.Runnable

public class AudioPlayer
extends java.lang.Object
implements java.lang.Runnable


Method Summary
static javax.sound.sampled.SourceDataLine getSourceDataLine(java.lang.String strMixerName, javax.sound.sampled.AudioFormat audioFormat, int nBufferSize)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

getSourceDataLine

public static javax.sound.sampled.SourceDataLine getSourceDataLine(java.lang.String strMixerName,
                                                                   javax.sound.sampled.AudioFormat audioFormat,
                                                                   int nBufferSize)
                                                            throws java.lang.Exception
Throws:
java.lang.Exception