Exemplo n.º 1
0
 void mMp3Recorder_Closing(object sender, EventArgs e)
 {
     lock (mMP3RecorderLockObj)
     {
         mMp3Recorder.Closing -= mMp3Recorder_Closing;
         mMp3Recorder          = null;
     }
 }
Exemplo n.º 2
0
 public void AddMp3Recorder(AsioMP3Recorder recorder)
 {
     lock (mMP3RecorderLockObj)
     {
         mMp3Recorder          = recorder;
         mMp3Recorder.Closing += mMp3Recorder_Closing;
     }
 }