public AudioViewModel(Audio audio)
 {
     this.CommandSetter();
     this._currentAudio = audio;
     this._currentAudio.AudioPlayer = new NAudioPlayer(ref this._currentAudio);
     this._currentAudio.AudioTagger = new ID3Tagger(ref this._currentAudio);
 }
 public AudioViewModel(string path)
 {
     this.CommandSetter();
     this._currentAudio = new Audio();
     this._currentAudio.Location = path;
     this._currentAudio.AudioPlayer = new NAudioPlayer(ref this._currentAudio);
     this._currentAudio.AudioTagger = new ID3Tagger(ref this._currentAudio);
 }
 public NAudioPlayer(ref Audio media)
 {
     this.waveOutDevice = new WaveOut();
     this.media = media;
     this.CreateInputStream();
 }
 public ID3Tagger(ref Audio media)
 {
     this.UltraID3 = new UltraID3();
     this.UltraID3.Read(media.Location);
 }