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>AXSetVoiceState</title>
7<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
8<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 6.5.0.0 for Windows">
9<META http-equiv="Content-Style-Type" content="text/css">
10</head>
11
12<body>
13
14<h1 align="left">AXSetVoiceState</h1>
15
16<h2>Syntax</h2>
17<dl><dd><pre class="construction">
18#include &lt;revolution/ax.h&gt;
19
20#define AX_PB_STATE_STOP    0
21#define AX_PB_STATE_RUN     1
22
23void AXSetVoiceState(AXVPB *pvpb, u32 state);
24</pre></dd></dl>
25
26<h2>Arguments</h2>
27<TABLE class="arguments" border="1" >
28  <tr>
29<th>pvpb</th>
30<td>Pointer to the specified voice.</td>
31  </tr>
32  <tr>
33<th>state</th>
34<td>Voice state to be set. See Syntax for definitions.</td>
35  </tr>
36</table>
37
38<h2>Return Values</h2>
39<p>None.</p>
40
41<h2>Description</h2>
42<p>The <code>AXSetVoiceState</code> function sets the voice to run or stop. This function also asserts the synchronization flag corresponding to <code>axvpb.sync</code>.</p>
43
44<h2>See Also</h2>
45<p class="reference">
46<a href="../Parameter_Blocks/state.html">axvpb.pb.state</a>
47</p>
48
49<h2>Revision History</h2>
50<P>
512006/03/01 Initial version.<BR>
52</P>
53
54<hr><p>CONFIDENTIAL</p></body>
55</html>
56