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>
20  #include &lt;revolution.h&gt;
21  #include &lt;revolution/sp.h&gt;
22
23  void SPPrepareEnd(SPSoundEntry *sound, AXVPB *axvpb);
24  </CODE></pre>
25  </dd>
26</dl>
27
28<h2>Arguments</h2>
29
30<table border="1" cellpadding="3" cellspacing="0.1">
31  <tr>
32<td width="120" bgcolor="#ffffe8"><em><strong><code>sound</code></strong></em></td>
33    <td width="520">pointer to an <code>SPSoundEntry</code> structure</td>
34  </tr>
35  <tr>
36    <td width="120" bgcolor="#ffffe8"><em><strong><code>axvpb</code></strong></em></td>
37    <td width="520">pointer to the <code>AXVPB</code> structure associated with an allocated AX voice</td>
38  </tr>
39</table>
40
41<h2>Return Values</h2>
42
43<p>None.</p>
44
45<h2>Description</h2>
46
47<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>
48
49<p><STRONG>NB</STRONG>: This function is used when the SE loop end address and data end address are different.</p>
50
51<h2>See Also</h2>
52
53<p><code><a href="SPSoundEntry.html">SPSoundEntry</a></code></p>
54
55<h2>Revision History</h2>
56<P>2006/03/01 Initial version.</P>
57
58<hr>
59<P>CONFIDENTIAL</p>
60</BODY>
61</HTML>
62