public void prev(){
  if (D)   LOG.info("Going to previous track");
synchronized (this) {
    if (mShuffleMode == SHUFFLE_NORMAL) {
      final int histsize=mHistory.size();
      if (histsize == 0) {
        return;
      }
      final Integer pos=mHistory.remove(histsize - 1);
      mPlayPos=pos.intValue();
    }
 else {
      if (mPlayPos > 0) {
        mPlayPos--;
      }
 else {
        mPlayPos=mPlayListLen - 1;
      }
    }
    stop(false);
    openCurrent();
    play();
    notifyChange(META_CHANGED);
  }
}

public void prev ( ) { if ( D ) LOG . info ( "Going to previous track" ) ; synchronized ( this ) { if ( mShuffleMode == SHUFFLE_NORMAL ) { final int histsize = mHistory . size ( ) ; if ( histsize == 0 ) { return ; } final Integer pos = mHistory . remove ( histsize - 1 ) ; mPlayPos = pos . intValue ( ) ; } else { if ( mPlayPos > 0 ) { mPlayPos -- ; } else { mPlayPos = mPlayListLen - 1 ; } } stop ( false ) ; openCurrent ( ) ; play ( ) ; notifyChange ( META_CHANGED ) ; } }
changes from the current track to the previous played track
