public AUScheduledAudioFileRegion (AudioFile audioFile, AUScheduledAudioFileRegionCompletionHandler completionHandler = null) { if (audioFile == null) throw new ArgumentNullException (nameof (audioFile)); AudioFile = audioFile; this.completionHandler = completionHandler; }
public AUScheduledAudioFileRegion(AudioFile audioFile, AUScheduledAudioFileRegionCompletionHandler completionHandler = null) { if (audioFile == null) { throw new ArgumentNullException(nameof(audioFile)); } AudioFile = audioFile; this.completionHandler = completionHandler; }
protected virtual void Dispose(bool disposing) { if (disposing) { completionHandler = null; } if (handle.IsAllocated) { handle.Free(); } }
protected virtual void Dispose (bool disposing) { if (disposing) completionHandler = null; if (handle.IsAllocated) handle.Free (); }