public AudioEncoder(LameEncoderSettings settings, string path, Stream output = null) { this.CheckPCMConfig(settings.PCM); this.m_settings = settings; this.m_outputPath = path; this.m_outputStream = output != null ? output : File.Create(path); this.m_bytesWritten = 0; }