private bool OnRecording(IntPtr handle, IntPtr buffer, uint length, IntPtr user) { if (Recording != null) { var e = new RecordingEventArgs(buffer, length); Recording?.Invoke(this, e); return !e.IsStopRecording; } return true; }
private bool OnRecording(IntPtr handle, IntPtr buffer, uint length, IntPtr user) { if (Recording != null) { var e = new RecordingEventArgs(buffer, length); Recording?.Invoke(this, e); return(!e.IsStopRecording); } return(true); }