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>axvpb.pb.state</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">axvpb.pb.state</h1>
15
16
17<h2>C Specification</h2>
18<BLOCKQUOTE>
19<pre><CODE>#define AX_PB_STATE_STOP    0x0000
20#define AX_PB_STATE_RUN     0x0001
21
22u16 state;</CODE></pre>
23</BLOCKQUOTE>
24<h2>Description</h2>
25
26<p>The <code>state</code> parameter sets the voice to run or stop. Either the user or the DSP may change the state of a voice.</p>
27
28<p>The DSP will change the state of a &quot;one-shot&quot; voice to <code>AX_PB_STATE_STOP</code>, upon reaching the end address of a sample. A &quot;looping&quot; voice will play until the user sets the state to <code>AX_PB_STATE_STOP</code>.</p>
29
30<p>The user must assert the <code>AX_SYNC_USER_STATE</code> bit synchronization flag in <code>axvpb.sync</code>, when the state is changed.</p>
31
32<h2>See Also</h2>
33<p>
34<code><a href="../Voice_Parameter_Blocks/sync.html">axvpb.sync</a><br> <a href="../Voice_Parameters/AXSetVoiceState.html">AXSetVoiceState</a></code>
35</p>
36
37<h2>Revision History</h2>
38
39<P>2006/03/01 Initial version.</P><hr>
40<P>CONFIDENTIAL</p>
41</BODY>
42</HTML>
43