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
17<h2>C Specification</h2>
18<BLOCKQUOTE>
19<pre><code>#include &lt;revolution.h&gt;
20
21#define AX_PB_STATE_STOP    0
22#define AX_PB_STATE_RUN     1
23
24void AXSetVoiceState(AXVPB *pvpb, u32 state);</CODE></pre>
25</BLOCKQUOTE>
26<h2>Arguments</h2>
27
28<table border="1" cellpadding="3" cellspacing="0.1">
29  <tr>
30<td width="120" bgcolor="#ffffe8"><em><strong><code>pvpb</code></strong></em></td>
31<td width="520">Pointer to the specified voice.</td>
32  </tr>
33  <tr>
34<td width="120" bgcolor="#ffffe8"><em><strong><code>state</code></strong></em></td>
35<td width="520">Voice state to be set. See C Specification for definitions.</td>
36  </tr>
37</table>
38
39<h2>Return Values</h2>
40
41<p>None.</p>
42
43<h2>Description</h2>
44
45<p><code>AXSetVoiceState()</code> sets the voice to run or stop. This function also asserts the appropriate synchronization flags in <code>axvpb.sync</code>.</p>
46
47<h2>See Also</h2>
48
49<p>
50<code><a href="../Parameter_Blocks/state.html">axvpb.pb.state</a></code>
51</p>
52
53<h2>Revision History</h2>
54
55<P>2006/03/01 Initial version.</P><hr>
56<P>CONFIDENTIAL</p>
57</BODY>
58</HTML>
59