1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" /> 7<title>Finalize</title> 8 </head> 9 <body> 10<h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/mic/Overview.html">mic</a>::<a href="../../../nn/mic/CTR/Overview.html">CTR</a>::Finalize</CODE> Function</h1> 11<h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14<a href="../../../nn/Result/Overview.html">Result</a> Finalize(); 15</pre> 16 </div> 17<h2>Parameters</h2> 18 <div class="section"> 19<p>None.</p> 20 </div> 21<h2>Return Values</h2> 22<div class="section">Returns the result of the operation. <br /> 23 <table class="arguments"> 24 <thead> 25 <tr> 26<th>Value</th> 27<td>Description</td> 28 </tr> 29 </thead> 30 <tr> 31<th><CODE>Result::IsSuccess</CODE></th> 32<td>Process succeeded.</td> 33 </tr> 34 <tr> 35<th><CODE>ResultNotInitialized</CODE></th> 36<td>Not initialized.</td> 37 </tr> 38 </table> </div> 39<h2>Description</h2> 40 <div class="section"> 41<p>Finalizes the MIC library.</p><p>Calling this function stops any sampling in progress, sets the microphone amp gain to <CODE><a href="../../../nn/mic/CTR/AMP_GAIN_DEFAULT_VALUE.html">nn::mic::CTR::AMP_GAIN_DEFAULT_VALUE</a></CODE>, and turns the microphone power off.</p><!-- write here --></div> 42<h2>Revision History</h2> 43 <div class="section"> 44 <dl class="history"> 45 <dt>2010/12/18</dt> 46<dd>Revised the description of the return values. 47 </dd> 48 <dt>2010/07/15</dt> 49<dd>Added description of microphone amp and power settings on finalization. 50 </dd> 51 <dt>2010/01/07</dt> 52<dd>Initial version.<br /> 53 </dd> 54 </dl> 55 </div> 56 <hr><p>CONFIDENTIAL</p></body> 57</html> 58