internal void CheckALCError(string operation) { AlcError error = Alc.GetErrorForDevice(_captureDevice); if (error == AlcError.NoError) { return; } string errorFmt = "OpenAL Error: {0}"; throw new NoMicrophoneConnectedException(String.Format("{0} - {1}", operation, string.Format(errorFmt, error))); }