Ejemplo n.º 1
0
        // Cancel capture audio session
        public bool CancelCapture()
        {
            if (status != CaptureStatus.STARTED)
            {
                Debug.LogFormat(LOG_FORMAT, "Audio capture session not start yet!");
                return(false);
            }

            audioRecorder.CancelRecord();

            Debug.LogFormat(LOG_FORMAT, "Audio capture session canceled!");

            return(true);
        }