Stop() public method

Stops the sound.
public Stop ( ) : void
return void
Beispiel #1
0
 private void StopButton_Click(object sender, RoutedEventArgs e)
 {
     lock (lockAudio)
     {
         if (audioPlayer != null)
         {
             audioPlayer.Stop();
         }
     }
 }