SampleApp.MainForm.source_AudioSourceError C# (CSharp) Method

source_AudioSourceError() private method

This callback will be called when there is some error with the audio source. It can be used to route exceptions so they don't compromise the audio processing pipeline.
private source_AudioSourceError ( object sender, AudioSourceErrorEventArgs e ) : void
sender object
e AudioSourceErrorEventArgs
return void
        void source_AudioSourceError(object sender, AudioSourceErrorEventArgs e)
        {
            throw new Exception(e.Description);
        }
MainForm