示例#1
0
 private void AudioCaptureDeviceNewFrame(object sender, Accord.Audio.NewFrameEventArgs eventArgs)
 {
     foreach (IAudioCapturingOutput capturingOutput in audioCaptureOutputs)
     {
         capturingOutput.AudioOutputMethod(eventArgs.Signal);
     }
 }
示例#2
0
 private void AudioSourceMixer_NewFrame(object sender, Accord.Audio.NewFrameEventArgs e)
 {
     lock (syncObj)
     {
         if (IsRecording)
         {
             VideoFileWriter.WriteAudioFrame(e.Signal);
         }
     }
 }
示例#3
0
        private void audioDevice_NewFrame(object sender, Accord.Audio.NewFrameEventArgs e)
        {
            //try
            //{

            writer.WriteAudioFrame(e.Signal);

            //}
            //catch (Exception ee)
            //{
            //}
        }