protected override bool _RecordStart(Sound sound) { criticalSection.Enter(); OpenALCaptureSound captureSound = sound as OpenALCaptureSound; if (captureSound == null) { criticalSection.Leave(); Log.Warning("OpenALSoundSystem: Recording failed. Is sound a not for recording."); return(false); } Alc.alcCaptureStart(captureSound.alCaptureDevice); recordingSound = captureSound; criticalSection.Leave(); return(true); }