Ejemplo n.º 1
0
 public virtual void seek(int destination)
 {
     // Stores the requested position, it will be used if player is not yet connected.
     if (mPosition == destination)
     {
         return;
     }
     mPosition = destination;
     if (mPlayer != null)
     {
         mPlayer.seek(destination);
         State = PlayerState.BUFFERING;
     }
 }
Ejemplo n.º 2
0
 public virtual void seek(int destination)
 {
     if (mPosition == destination)
     {
         return;
     }
     // Store the requested position, it will be used if player
     // is not yet connected.
     mPosition = destination;
     if (mPlayer != null)
     {
         mPlayer.seek(destination);
         State = PlayerState.BUFFERING;
     }
     Log.d("MusicPlayer", "Seek: " + destination + ", " + mPlayer);
 }