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 17<h2>C Specification</h2> 18<BLOCKQUOTE> 19<pre><CODE>#define AX_PB_TYPE_NORMAL 0x0000 20#define AX_PB_TYPE_STREAM 0x0001 21 22u16 type;</CODE></pre> 23</BLOCKQUOTE> 24<h2>Description</h2> 25 26<p>This parameter allows the DSP to differentiate between looped ADPCM sound effects and ADPCM-encoded <i>software streams</i>.</p> 27 28<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> 29 30<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> 31 32<p>The <code>type</code> parameter is ignored for PCM-format samples.</p> 33 34<p>You must assert the <code>AX_SYNC_USER_TYPE</code> synchronization bit in <code>axvpb.sync</code>, when the type is changed.</p> 35 36<h2>See Also</h2> 37<p> 38<code><a href="../Voice_Parameter_Blocks/sync.html">axvpb.sync</a><br> <a href="AXPBADPCMLOOP_adpcmloop.html">axvpb.pb.adpcmLoop</a><br> <a href="../Voice_Parameters/AXSetVoiceType.html">AXSetVoiceType</a><br> <a href="../Voice_Parameters/AXSetVoiceAddr.html">AXSetVoiceAddr</a><br> <a href="../Voice_Parameters/AXSetVoiceAdpcmLoop.html">AXSetVoiceAdpcmLoop</a></code> 39</p> 40 41<h2>Revision History</h2> 42 43<P>2006/03/01 Initial version.</P><hr> 44<P>CONFIDENTIAL</p> 45</BODY> 46</HTML> 47