| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectibxm.Player
public class Player
| Constructor Summary | |
|---|---|
Player()
Instantiate a new Player.  | 
|
| Method Summary | |
|---|---|
static Module | 
load_module(InputStream input)
Decode the data in the specified InputStream into a Module instance.  | 
static void | 
main(String[] args)
Simple command-line test player.  | 
 void | 
play()
Open the audio device and begin playback.  | 
 void | 
set_loop(boolean loop)
If loop is true, playback will continue indefinitely, otherwise the module will play through once and stop.  | 
 void | 
set_module(Module m)
Set the Module instance to be played.  | 
 void | 
stop()
Stop playback and close the audio device.  | 
| Methods inherited from class java.lang.Object | 
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public Player()
       throws LineUnavailableException
LineUnavailableException| Method Detail | 
|---|
public static void main(String[] args)
                 throws Exception
Exception
public static Module load_module(InputStream input)
                          throws IllegalArgumentException,
                                 IOException
input - an InputStream containing the module file to be decoded.
IllegalArgumentException - if the data is not recognised as a module file.
IOExceptionpublic void set_module(Module m)
public void set_loop(boolean loop)
public void play()
public void stop()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||