Exemple #1
0
 private void ModuleInitSound(string connectionString)
 {
     Source = new SoundIn(this.system, connectionString);
     Out    = new SoundOut(this.system);
     AdRemover.SoundSource = Source;
     Out.SoundSource       = AdRemover;
 }
Exemple #2
0
 public void Dispose()
 {
     if (Source != null)
     {
         Source.StopMe();
         Source = null;
     }
     if (Out != null)
     {
         Out = null;
     }
 }