org.p2c2e.zing
Class SoundChannel
java.lang.Object
org.p2c2e.zing.SoundChannel
- public class SoundChannel
- extends java.lang.Object
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 |
SoundChannel
public SoundChannel()
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)