public void startPlay(String fileName) {
   if (splayer != null
       && splayer.getPlayFileName().equals(fileName)
       && !splayer.isStop()
       && splayer.isPaused()) {
     splayer.resumePlay();
   } else {
     splayer = new SpeexPlayer(fileName);
     splayer.startPlay();
   }
   status = PLAYING;
 }
 public int getStatus() {
   if (status == PLAYING && splayer.isStop()) status = STOPPED;
   return status;
 }
 public void stopPlay() {
   if (splayer != null && !splayer.isStop()) splayer.stopPlay();
   status = STOPPED;
 }