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>Syntax</h2> 16<dl><dd><pre class="construction"> 17 #include <revolution.h> 18 #include <revolution/sp.h> 19 20 void SPPrepareEnd(SPSoundEntry *sound, AXVPB *axvpb); 21</pre></dd></dl> 22 23<h2>Arguments</h2> 24<TABLE class="arguments" border="1" > 25 <tr> 26<th>sound</th> 27<td>Pointer to an <code>SPSoundEntry</code> structure</td> 28 </tr> 29 <tr> 30<th>axvpb</th> 31<td>Pointer to the <code>AXVPB</code> structure associated with an allocated AX voice</td> 32 </tr> 33</table> 34 35<h2>Return Values</h2> 36<p>None.</p> 37 38<h2>Description</h2> 39<p>The <code>SPPrepareEnd</code> 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->loopEndAddr</code>) to the data end address (<code>sound->endAddr</code>).</p> 40 41<p><strong><em>Note:</em></strong> The <code>SPPrepareEnd</code> function is used when the SE loop end address and data end address are different.</p> 42 43<h2>See Also</h2> 44<p class="reference"> 45<a href="SPSoundEntry.html">SPSoundEntry</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