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.type</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.type</h1> 15 16<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#define AX_PB_TYPE_NORMAL 0x0000 19#define AX_PB_TYPE_STREAM 0x0001 20 21u16 type; 22</pre></dd></dl> 23 24<h2>Description</h2> 25<p>This parameter allows the DSP to differentiate between looped ADPCM sound effects and ADPCM-encoded <b>software streams</b>.</p> 26 27<p>For voices having type <code>AX_PB_TYPE_NORMAL</code>, the DSP will reprogram the ADPCM decoder hardware with loop context information (as stored within <code>axvpb.pb.adpcmLoop</code>) upon reaching the loop-end address of the given sample.</p> 28 29<p>For voices having type <code>AX_PB_TYPE_STREAM</code>, the DSP will only reprogram the predictor/scale values. The DSP will not reprogram the <code>yn1</code> and <code>yn2</code> history values.</p> 30 31<p>The <SPAN class="argument">type</SPAN> parameter is ignored for PCM-format samples.</p> 32 33<p>You must assert the <code>AX_SYNC_USER_TYPE</code> synchronization flag in <code>axvpb.sync</code> when <SPAN class="argument">type</SPAN> is changed.</p> 34 35<h2>See Also</h2> 36<p class="reference"> 37<a href="../Voice_Parameter_Blocks/sync.html">axvpb.sync</a>, <a href="AXPBADPCMLOOP_adpcmloop.html">axvpb.pb.adpcmLoop</a>, <a href="../Voice_Parameters/AXSetVoiceType.html">AXSetVoiceType</a>, <a href="../Voice_Parameters/AXSetVoiceAddr.html">AXSetVoiceAddr</a>, <a href="../Voice_Parameters/AXSetVoiceAdpcmLoop.html">AXSetVoiceAdpcmLoop</a> 38</p> 39 40<h2>Revision History</h2> 41<P> 422006/03/01 Initial version.<BR> 43</P> 44 45<hr><p>CONFIDENTIAL</p></body> 46</html> 47