/DUBwise/trunk/j2me/src/MKStatusVoice.java |
---|
24,6 → 24,10 |
public final int PLAYERSTATE_PLAYING=1; |
public final int PLAYERSTATE_FIN=2; |
public int volume=100; |
public int delay=5; |
int act_player_state=PLAYERSTATE_IDLE; |
VolumeControl vc; |
79,7 → 83,7 |
vc = (VolumeControl) player.getControl("VolumeControl"); |
if(vc != null) { |
vc.setLevel(100); |
vc.setLevel(volume); |
} |
player.prefetch(); |
129,7 → 133,12 |
} |
try { Thread.sleep(5000); } |
try { |
if (delay<1) |
Thread.sleep(1000); |
else |
Thread.sleep(delay*1000); |
} |
catch (Exception e) { } |
} |