protected override void _RecordStop() { criticalSection.Enter(); if (recordingSound != null) { Alc.alcCaptureStop(recordingSound.alCaptureDevice); recordingSound = null; } criticalSection.Leave(); }