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>InterpolationType</title> 8 </head> 9 <body> 10<h1><CODE>nn::snd::CTR::InterpolationType</CODE> Enumerated Type</h1> 11<h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14enum InterpolationType; 15</pre> 16 </div> 17<h2>Value</h2> 18 <div class="section"> 19 <table class="arguments"> 20 <thead> 21 <tr> 22<th>Value</th> 23<td>Description</td> 24 </tr> 25 </thead> 26 <tr> 27<th><CODE>INTERPOLATION_TYPE_POLYPHASE</CODE></th> 28<td>Indicates polyphase (4-point) interpolation.</td> 29 </tr> 30 <tr> 31<th><CODE>INTERPOLATION_TYPE_LINEAR</CODE></th> 32<td>Indicates linear interpolation.</td> 33 </tr> 34 <tr> 35<th><CODE>INTERPOLATION_TYPE_NONE</CODE></th> 36<td>Indicates no interpolation.</td> 37 </tr> 38 </table> </div> 39<h2>Description</h2> 40 <div class="section"> 41<p>An enumerated type representing the interpolation method.</p><p> 42This indicates which interpolation algorithm is used during sampling rate conversion. To get or set this value, use the <CODE>nn::snd::CTR::Voice::GetInterpolationType</CODE> or <CODE>nn::snd::CTR::Voice::SetInterpolationType</CODE> function respectively. 43 </p><p> 44When <CODE>INTERPOLATION_TYPE_NONE</CODE> is specified, neighboring sample values are used during interpolation. There may be noise in the interpolated results. 45 </p><p> 46When <CODE>INTERPOLATION_TYPE_LINEAR</CODE> is specified, linear interpolation is used. 47 </p><p> 48When <CODE>INTERPOLATION_TYPE_POLYPHASE</CODE> is specified, 4-point interpolation is used. The appropriate polyphase filter to use for interpolation is selected from the configured sample rate and pitch. Of the three algorithms, this one has the best sound quality. 49 </p></div> 50<h2>Revision History</h2> 51 <div class="section"> 52 <dl class="history"> 53 <dt>2010/08/24</dt> 54<dd>Added a description of each algorithm. 55 </dd> 56 <dt>2010/06/14</dt> 57<dd>Initial version.<br /> 58 </dd> 59 </dl> 60 </div> 61 <hr><p>CONFIDENTIAL</p></body> 62</html>