org.p2c2e.zing
Class SoundChannel

java.lang.Object
  extended byorg.p2c2e.zing.SoundChannel

public class SoundChannel
extends java.lang.Object


Nested Class Summary
static interface SoundChannel.PlayerThread
           
 
Constructor Summary
SoundChannel()
           
 
Method Summary
 void destroy()
           
 boolean play(int soundId)
           
 boolean play(int soundId, int iRepeat, int iNotify)
           
 void setVolume(int iVol)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoundChannel

public SoundChannel()
Method Detail

destroy

public void destroy()
             throws java.lang.Exception
Throws:
java.lang.Exception

play

public boolean play(int soundId)
             throws java.lang.Exception
Throws:
java.lang.Exception

play

public boolean play(int soundId,
                    int iRepeat,
                    int iNotify)
             throws java.lang.Exception
Throws:
java.lang.Exception

stop

public void stop()
          throws java.lang.Exception
Throws:
java.lang.Exception

setVolume

public void setVolume(int iVol)