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>C Specification</h2>
16
17<dl>
18<dd><pre><CODE>#include &lt;revolution.h&gt;
19#include &lt;revolution/seq.h&gt;</CODE></pre>
20  </dd>
21<dd><pre><CODE>#define SEQ_STATE_STOP		0 //stops playback, rewinds all tracks
22#define SEQ_STATE_RUN		1 //runs sequence
23#define SEQ_STATE_RUNLOOPED	2 //runs sequence, will loop tracks
24#define SEQ_STATE_PAUSE		3 //stops playback, does not rewind tracks
25
26void SEQSetState(SEQSEQUENCE *sequence, u32 state);</CODE></pre>
27  </dd>
28</dl>
29
30<h2>Arguments</h2>
31
32<table border="1" cellpadding="3" cellspacing="0.1">
33  <tr>
34<td width="120" bgcolor="#ffffe8"><em><strong><font face="Courier New">sequence</font></strong></em></td>
35<td width="520">pointer to user-initialized <font face="Courier New">SEQSEQUENCE</font></td>
36  </tr>
37  <tr>
38<td width="120" bgcolor="#ffffe8"><em><strong><font face="Courier New">state</font></strong></em></td>
39<td width="520">state to set the sequence to</td>
40  </tr>
41</table>
42
43<h2>Return Values</h2>
44
45<p>None.</p>
46
47<h2>Description</h2>
48
49<p>This function sets the specified sequence to the desired state.</p>
50
51<h2>See Also</h2>
52
53<p><a href="SEQGetState.html"><font face="Courier New">SEQGetState</font></a></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