com.nokia.mid.sound
Class Sound
java.lang.Object
com.nokia.mid.sound.Sound
public class Sound
- extends java.lang.Object
|
Constructor Summary |
Sound(byte[] data,
int type)
|
Sound(int freq,
long duration)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SOUND_PLAYING
public static final int SOUND_PLAYING
- See Also:
- Constant Field Values
SOUND_STOPPED
public static final int SOUND_STOPPED
- See Also:
- Constant Field Values
SOUND_UNINITIALIZED
public static final int SOUND_UNINITIALIZED
- See Also:
- Constant Field Values
FORMAT_TONE
public static final int FORMAT_TONE
- See Also:
- Constant Field Values
FORMAT_WAV
public static final int FORMAT_WAV
- See Also:
- Constant Field Values
Sound
public Sound(byte[] data,
int type)
Sound
public Sound(int freq,
long duration)
getConcurrentSoundCount
public static int getConcurrentSoundCount(int type)
getGain
public int getGain()
setGain
public void setGain(int gain)
getState
public int getState()
getSupportedFormats
public static int[] getSupportedFormats()
init
public void init(byte[] data,
int type)
init
public void init(int freq,
long duration)
play
public void play(int loop)
stop
public void stop()
release
public void release()
resume
public void resume()
setSoundListener
public void setSoundListener(SoundListener listener)
Copyright © 2001-2010 MicroEmulator Team. All Rights Reserved.