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>AXSetVoiceLoopAddr</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">AXSetVoiceLoopAddr</h1>
15
16<h2>Syntax</h2>
17<dl><dd><pre class="construction">
18#include &lt;revolution/ax.h&gt;
19
20void AXSetVoiceLoopAddr(AXVPB *pvpb, u32 address);
21</pre></dd></dl>
22
23<h2>Arguments</h2>
24<TABLE class="arguments" border="1" >
25  <tr>
26<th>pvpb</th>
27<td>Pointer to the specified voice.</td>
28  </tr>
29  <tr>
30<th>address</th>
31<td>New loop-start address.</td>
32  </tr>
33</table>
34
35<h2>Return Values</h2>
36<p>None.</p>
37
38<h2>Description</h2>
39<p>The <code>AXSetVoiceLoopAddr</code> function sets a new start loop address for the specified voice. As an example, consider a synthesizer that supports release loops. Upon encountering a keyoff event, the application could set new loop points using the <code>AXSetVoiceLoopAddr</code> and <code>AXSetVoiceEndAddr</code> functions. This function also asserts the synchronization flag corresponding to <code>axvpb.sync</code>.</p>
40
41<p><B>Note:</B> The interpretation of the address (by the DSP) will depend on the format of the sample being played by the voice. For example, the address must reference 16-bit words for 16-bit PCM samples, or 4-bit nibbles for ADPCM samples.</p>
42
43<H2>See Also</H2>
44<p class="reference">
45<a href="../Parameter_Blocks/AXPBADDR_addr.html">axvpb.pb.addr</a>, <a href="AXSetVoiceAddr.html">AXSetVoiceAddr</a>, <a href="AXSetVoiceEndAddr.html">AXSetVoiceEndAddr</a>
46</p>
47
48<h2>Revision History</h2>
49<P>
502006/03/01 Initial version.<br>
51</P>
52
53<hr><p>CONFIDENTIAL</p></body>
54</html>
55