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>SPPrepareEnd</title>
7<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
8<META http-equiv="Content-Style-Type" content="text/css">
9</head>
10
11<body>
12
13<h1 align="left">SPPrepareEnd</h1>
14
15<h2>C Specification</h2>
16
17<dl>
18  <dd>
19<pre><CODE>#include &lt;revolution.h&gt;
20#include &lt;revolution/sp.h&gt;
21
22void SPPrepareEnd(SPSoundEntry *sound, AXVPB *axvpb);</CODE></pre>
23  </dd>
24</dl>
25
26<h2>Arguments</h2>
27
28<table border="1" cellpadding="3" cellspacing="0.1">
29  <tr>
30<td width="120" bgcolor="#ffffe8"><em><strong><code>sound</code></strong></em></td>
31    <td width="520">pointer to an <code>SPSoundEntry</code> structure</td>
32  </tr>
33  <tr>
34    <td width="120" bgcolor="#ffffe8"><em><strong><code>axvpb</code></strong></em></td>
35    <td width="520">pointer to the <code>AXVPB</code> structure associated with an allocated AX voice</td>
36  </tr>
37</table>
38
39<h2>Return Values</h2>
40
41<p>None.</p>
42
43<h2>Description</h2>
44
45<p>This function changes the voice type from <EM>looped</EM> to <EM>no loop</EM>. It also changes the end address of the voice from the SE loop end address (<code>sound-&gt;loopEndAddr</code>) to the data end address (<code>sound-&gt;endAddr</code>).</p>
46
47<p><STRONG>NB</STRONG>: This function is used when the SE loop end address and data end address are different.</p>
48
49<h2>See Also</h2>
50
51<p><code><a href="SPSoundEntry.html">SPSoundEntry</a></code></p>
52
53<h2>Revision History</h2>
54<P>03/01/2006 Initial version.</P>
55
56</body>
57</html>
58