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
17<h2>C Specification</h2>
18<BLOCKQUOTE>
19<pre><code>#include &lt;revolution.h&gt;
20
21void AXSetVoiceLoopAddr(AXVPB *pvpb, u32 address);</CODE></pre>
22</BLOCKQUOTE>
23<h2>Arguments</h2>
24
25<table border="1" cellpadding="3" cellspacing="0.1">
26  <tr>
27<td width="120" bgcolor="#ffffe8"><em><strong><code>pvpb</code></strong></em></td>
28<td width="520">Pointer to the specified voice.</td>
29  </tr>
30  <tr>
31<td width="120" bgcolor="#ffffe8"><em><strong><code>address</code></strong></em></td>
32<td width="520">New loop-start address. </td>
33  </tr>
34</table>
35
36<h2>Return Values</h2>
37
38<p>None.</p>
39
40<h2>Description</h2>
41
42<p><code>AXSetVoiceLoopAddr()</code> 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 <code>AXSetVoiceLoopAddr()</code> and <code>AXSetVoiceEndAddr()</code>. This function also asserts the appropriate synchronization flags in <code>axvpb.sync</code>.</p>
43
44<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>
45<H2>See Also</H2>
46<p>
47<code><a href="../Parameter_Blocks/AXPBADDR_addr.html">axvpb.pb.addr</a><br> <a href="AXSetVoiceAddr.html">AXSetVoiceAddr</a><br> <a href="AXSetVoiceEndAddr.html">AXSetVoiceEndAddr</a></code>
48</p>
49<h2>Revision History</h2>
50
51<P>2006/03/01 Initial version.</P>
52<hr>
53<P>CONFIDENTIAL</p>
54</BODY>
55</HTML>
56