private void OnDataAvailable(object sender, WaveInEventArgs e) { OnDataReceived.BeginInvoke(e.Buffer, null, locker); //OnDataReceived.Invoke(e.Buffer); }