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