close() public méthode

Cloases this player. Any audio currently playing is stopped immediately.
public close ( ) : void
Résultat void
Exemple #1
0
 /// <summary> Stops the audio player. If the player is already stopped
 /// this method is a no-op.
 /// </summary>
 protected internal virtual void  stopPlayer()
 {
     if (player != null)
     {
         player.close();
         player       = null;
         playerThread = null;
     }
 }