1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
6<title>axvpb.pb.adpcmLoop</title>
7<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
8<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 6.5.0.0 for Windows">
9<META http-equiv="Content-Style-Type" content="text/css">
10</head>
11
12<body>
13
14<h1 align="left">axvpb.pb.adpcmLoop</h1>
15
16
17<h2>C Specification</h2>
18<BLOCKQUOTE>
19<pre><CODE>typedef struct _AXPBADPCMLOOP
20{
21    u16 loop_pred_scale;    // predictor / scale combination (nibbles, as in hardware)
22    u16 loop_yn1;           // y[n - 1]
23    u16 loop_yn2;           // y[n - 2]
24
25
26} AXPBADPCMLOOP;</CODE></pre>
27</BLOCKQUOTE>
28<h2>Description</h2>
29
30<p>The <code>adpcmLoop</code> member specifies the ADPCM decoder context for the loop point in a given sample. These values are generated by the Nintendo&nbsp;Revolution DSP-ADPCM encoder tool, and must be written into these parameters by the user audio application. When the DSP streaming cache reaches the end address of a sample and resets itself to the loop-start position, these values will be programmed into the ADPCM decoder hardware. If the sample is either 16-bit or 8-bit PCM, then these values must be initialized to zero by the user audio application.</p>
31
32<p>Assert the <code>AX_SYNC_USER_ADPCMLOOP</code> in the <code>axvpb.sync</code> member when the loop context has changed.</p>
33
34<h2>See Also</h2>
35<p>
36<code><a href="../Voice_Parameter_Blocks/sync.html">axvpb.sync</a><br> <a href="../Voice_Parameters/AXSetVoiceAdpcmLoop.html">AXSetVoiceAdpcmLoop</a></code>
37</p>
38
39<h2>Revision History</h2>
40
41<P>2006/03/01 Initial version.</P>
42<hr>
43<P>CONFIDENTIAL</p>
44</BODY>
45</HTML>
46