private void AudioCaptureDeviceNewFrame(object sender, Accord.Audio.NewFrameEventArgs eventArgs) { foreach (IAudioCapturingOutput capturingOutput in audioCaptureOutputs) { capturingOutput.AudioOutputMethod(eventArgs.Signal); } }
private void AudioSourceMixer_NewFrame(object sender, Accord.Audio.NewFrameEventArgs e) { lock (syncObj) { if (IsRecording) { VideoFileWriter.WriteAudioFrame(e.Signal); } } }
private void audioDevice_NewFrame(object sender, Accord.Audio.NewFrameEventArgs e) { //try //{ writer.WriteAudioFrame(e.Signal); //} //catch (Exception ee) //{ //} }