		switch(lNewState)
		{
			case 2: // paused
				PlayerState = MEDIAPLAYER_STATE_PAUSED;
				break;

			case 3: // playing
				PlayerState = MEDIAPLAYER_STATE_PLAYING;
				break;


			case 4:  // fastforward
				PlayerState = MEDIAPLAYER_STATE_FASTFORWARDING;
				break;

			case 5:  // rewind
				PlayerState = MEDIAPLAYER_STATE_REWINDING;
				break;

			case 7:  // waiting
			case 6:  // buffering
				PlayerState = MEDIAPLAYER_STATE_BUFFERING;
				break;

			case 0:  // undefined
			case 1:  // stopped
			case 8:  // media ended
					PlayerState = MEDIAPLAYER_STATE_STOPPED;
			break;

			case 9:  // transitioning (preparing new media)
				PlayerState = MEDIAPLAYER_STATE_BUFFERING;
				break;

			case 10: // ready (to begin playing)
				PlayerState = MEDIAPLAYER_STATE_READY;
				break;
		}
