コード例 #1
0
        private void StopProcessing()
        {
            audioRecording.StopRecording();
            apiHelper.StopAPI();

            cts.Cancel();

            resultBuffer.Clean();
            audioBuffer.Clean();
            audioRecording.CleanUp();

            audioRecording = new AudioRecording(audioBuffer);
        }