Example #1
0
 public void PlayFile(string fileName)
 {
     CancelCurrentOperation();
     playback.Load(fileName);
     aggregator.NotificationCount = 882;
     playback.Play();
 }
Example #2
0
 private void Play()
 {
     if (this.selectedFile == null)
     {
         OpenFile();
     }
     if (this.selectedFile != null)
     {
         audioPlayback.Play();
     }
 }
Example #3
0
 public void PlayStream(string songName)
 {
     CancelCurrentOperation();
     aggregator.NotificationCount = 200;
     playback.Play(songName);
 }