public void StopRecording() { Log.Debug(TAG, "StopRecording"); if (inputQueue.IsRunning) { var stopStatus = inputQueue.Pause(); //var stopStatus = inputQueue.Stop(); Log.Debug(TAG, "Stop status " + stopStatus); outputAudioStream.EndRecording(); } }
public void StopRecording() { Log.Debug(TAG, "StopRecording"); if (inputQueue.IsRunning) { var stopStatus = inputQueue.Pause(); //var stopStatus = inputQueue.Stop(); Log.Debug(TAG, "Stop status " + stopStatus); outputAudioStream.EndRecording(); } }