com.buglabs.bug.module.audio
Class AudioPlayer

java.lang.Object
  extended by com.buglabs.bug.module.audio.AudioPlayer
All Implemented Interfaces:
IModuleAudioPlayer

public class AudioPlayer
extends java.lang.Object
implements IModuleAudioPlayer


Nested Class Summary
 class AudioPlayer.DecodingThread
           
 
Constructor Summary
protected AudioPlayer(SoundBackend backend2)
           
 
Method Summary
 void close()
           
 void endOfMediaReached()
           
 void pause()
           
 void play(java.io.InputStream is)
           
 void resume()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AudioPlayer

protected AudioPlayer(SoundBackend backend2)
Method Detail

play

public void play(java.io.InputStream is)
          throws java.io.IOException
Specified by:
play in interface IModuleAudioPlayer
Throws:
java.io.IOException

pause

public void pause()
Specified by:
pause in interface IModuleAudioPlayer

resume

public void resume()
Specified by:
resume in interface IModuleAudioPlayer

endOfMediaReached

public void endOfMediaReached()

close

public void close()