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.mix</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.mix</h1> 15 16 17<h2>C Specification</h2> 18<BLOCKQUOTE> 19<pre><CODE>typedef struct _AXPBMIX 20{ 21 22u16 vL; // volume left 23u16 vDeltaL; // volume ramp left 24u16 vR; // volume right 25u16 vDeltaR; // volume ramp right 26 27u16 vAuxAL; // volume AUX A left 28u16 vDeltaAuxAL; // volume ramp AUX A left 29u16 vAuxAR; // volume AUX A right 30u16 vDeltaAuxAR; // volume ramp AUX A right 31 32u16 vAuxBL; // volume AUX B left 33u16 vDeltaAuxBL; // volume ramp AUX B left 34u16 vAuxBR; // volume AUX B right 35u16 vDeltaAuxBR; // volume ramp AUX B right 36 37u16 vAuxCL; // volume AUX C left 38u16 vDeltaAuxCL; // volume ramp AUX C left 39u16 vAuxCR; // volume AUX C right 40u16 vDeltaAuxCR; // volume ramp AUX C right 41 42u16 vS; // volume surround 43u16 vDeltaS; // volume ramp surround 44u16 vAuxAS; // volume AUX A surround 45u16 vDeltaAuxAS; // volume ramp AUX A surround 46u16 vAuxBS; // volume AUX B surround 47u16 vDeltaAuxBS; // volume ramp AUX B surround 48u16 vAuxCS; // volume AUX C surround 49u16 vDeltaAuxCS; // volume ramp AUX C surround 50 51} AXPBMIX;</CODE></pre> 52</BLOCKQUOTE> 53<h2>Description</h2> 54 55<p>These values specify the mixing parameters for each of the 12 channels in a given voice. Volume is expressed as a 16-bit, fixed-point number (most significant bit for the integer, 15 bits of fraction). <BR><B>Note:</B> The <code>axvpb.pb.mixerCtrl</code> value must also be initialized correctly in order to apply these values.</p> 56 57<p><strong><B>Note:</B></strong> The DSP does not clamp volume-ramp computations. Your audio application is responsible for ensuring that the computation remains within bounds.</p> 58 59<p>In <code>AX_MODE_DPL2</code> mode, <code>AXPBMIX</code> is used as follows:</p> 60 61<pre><CODE> 62// Note: In DPL2, AuxC bus is not supported. 63 64u16 vL; // volume left 65u16 vDeltaL; // volume ramp left 66u16 vR; // volume right 67u16 vDeltaR; // volume ramp right 68 69u16 vAuxAL; // volume AUX A left 70u16 vDeltaAuxAL; // volume ramp AUX A left 71u16 vAuxAR; // volume AUX A right 72u16 vDeltaAuxAR; // volume ramp AUX A right 73 74u16 vAuxBL; // volume AUX B left 75u16 vDeltaAuxBL; // volume ramp AUX B left 76u16 vAuxBR; // volume AUX B right 77u16 vDeltaAuxBR; // volume ramp AUX B right 78 79u16 vAuxCL; // volume right surround 80u16 vDeltaAuxCL; // volume ramp right surround 81u16 vAuxCR; // volume Aux A right surround 82u16 vDeltaAuxCR; // volume ramp Aux A right surround 83 84u16 vS; // volume left surround 85u16 vDeltaS; // volume ramp left surround 86u16 vAuxAS; // volume AUX A left surround 87u16 vDeltaAuxAS; // volume ramp left AUX A surround 88u16 vAuxBS; // volume AUX B left surround 89u16 vDeltaAuxBS; // volume ramp AUX B left surround 90u16 vAuxCS; // volume AUX B right surround 91u16 vDeltaAuxCS; // volume ramp AUX B right surround 92 93</CODE></pre> 94 95<p>The user must assert the <code>AX_SYNC_USER_MIX</code> bit in the <code>axvpb.sync</code> member, when any of the above values have changed.</p> 96 97<h2>See Also</h2> 98<p> 99<code><a href="../Voice_Parameter_Blocks/sync.html">axvpb.sync</a><br> <a href="mixerCtrl.html">axvpb.pb.mixerCtrl</a><br> <a href="../Voice_Parameters/AXSetVoiceMix.html">AXSetVoiceMix</a></code> 100</p> 101 102<h2>Revision History</h2> 103 104<P>03/01/2006 Initial version.</P><p> </p> 105</body> 106</html> 107