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