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>SEQSetState</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">SEQSetState</h1>
14
15<h2>Syntax</h2>
16<dl><dd><pre class="construction">
17#include &lt;revolution.h&gt;
18#include &lt;revolution/seq.h&gt;
19
20#define SEQ_STATE_STOP      0 //stops playback, rewinds all tracks
21#define SEQ_STATE_RUN       1 //runs sequence
22#define SEQ_STATE_RUNLOOPED 2 //runs sequence, will loop tracks
23#define SEQ_STATE_PAUSE     3 //stops playback, does not rewind tracks
24
25void SEQSetState(SEQSEQUENCE *sequence, u32 state);
26</pre></dd></dl>
27
28<h2>Arguments</h2>
29<TABLE class="arguments" border="1" >
30  <tr>
31<th>sequence</th>
32<td>Pointer to a user-initialized <CODE>SEQSEQUENCE</CODE></td>
33  </tr>
34  <tr>
35<th>state</th>
36<td>State to set the sequence to</td>
37  </tr>
38</table>
39
40<h2>Return Values</h2>
41<p>None.</p>
42
43<h2>Description</h2>
44<p><CODE>SEQSetState</CODE> sets the specified sequence to the desired state.</p>
45
46<h2>See Also</h2>
47<p class="reference">
48<a href="SEQGetState.html">SEQGetState</a>
49</p>
50
51<h2>Revision History</h2>
52<P>
532006/03/01 Initial version.<BR>
54</P>
55
56<hr><p>CONFIDENTIAL</p></body>
57</html>
58