|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--palmos.SndCommand
A PalmOS sound command block.
Field Summary | |
byte |
cmd
|
int |
param1
|
short |
param2
|
short |
param3
|
Constructor Summary | |
SndCommand()
no-args default constructor (just for compatibility reasons) |
|
SndCommand(int freqHz,
int timeMillis,
int amplPercent)
creates a blocking sound command with given parameters. |
Method Summary | |
void |
setParams(int freqHz,
int timeMillis,
int amplPercent)
sets the sound command to the given parameters. |
Methods inherited from class java.lang.Object |
|
Field Detail |
public byte cmd
public int param1
public short param2
public short param3
Constructor Detail |
public SndCommand()
public SndCommand(int freqHz, int timeMillis, int amplPercent)
freqHz
- frequency in HertztimeMillis
- duration in milli-secondsamplPercent
- amplitude in percentMethod Detail |
public void setParams(int freqHz, int timeMillis, int amplPercent)
freqHz
- frequency in HertztimeMillis
- duration in milli-secondsamplPercent
- amplitude in percent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |