public AudioCdRipper(AudioCdSource source) { if (ripper_extension_node != null) { ripper = (IAudioCdRipper)ripper_extension_node.CreateInstance (); ripper.TrackFinished += OnTrackFinished; ripper.Progress += OnProgress; ripper.Error += OnError; } else { throw new ApplicationException ("No AudioCdRipper extension is installed"); } this.source = source; }
public AudioCdRipper(AudioCdSource source) { if (ripper_extension_node != null) { ripper = (IAudioCdRipper)ripper_extension_node.CreateInstance(); ripper.TrackFinished += OnTrackFinished; ripper.Progress += OnProgress; ripper.Error += OnError; } else { throw new ApplicationException("No AudioCdRipper extension is installed"); } this.source = source; }
public void Dispose() { ResetState(); if (source != null && source.Model != null) { source.Model.UnlockDoor(); } if (ripper != null) { ripper.Finish(); ripper = null; } if (user_job != null) { user_job.Finish(); user_job = null; } }
public void Dispose() { ResetState (); if (source != null && source.Model != null) { source.Model.UnlockDoor (); } if (ripper != null) { ripper.Finish (); ripper = null; } if (user_job != null) { user_job.Finish (); user_job = null; } }