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<h2>Syntax</h2>
17<dl><dd><pre class="construction">
18typedef struct _AXPBMIX
19{
20
21    u16     vL;          // volume left
22    u16 vDeltaL;        // volume ramp left
23    u16 vR;             // volume right
24    u16 vDeltaR;        // volume ramp right
25
26    u16 vAuxAL;         // volume AUX A left
27    u16 vDeltaAuxAL;    // volume ramp AUX A left
28    u16 vAuxAR;         // volume AUX A right
29    u16 vDeltaAuxAR;    // volume ramp AUX A right
30
31    u16 vAuxBL;         // volume AUX B left
32    u16 vDeltaAuxBL;    // volume ramp AUX B left
33    u16 vAuxBR;         // volume AUX B right
34    u16 vDeltaAuxBR;    // volume ramp AUX B right
35
36    u16 vAuxCL;         // volume AUX C left
37    u16 vDeltaAuxCL;    // volume ramp AUX C left
38    u16 vAuxCR;         // volume AUX C right
39    u16 vDeltaAuxCR;    // volume ramp AUX C right
40
41    u16 vS;             // volume surround
42    u16 vDeltaS;        // volume ramp surround
43    u16 vAuxAS;         // volume AUX A surround
44    u16 vDeltaAuxAS;    // volume ramp AUX A surround
45    u16 vAuxBS;         // volume AUX B surround
46    u16 vDeltaAuxBS;    // volume ramp AUX B surround
47    u16 vAuxCS;         // volume AUX C surround
48    u16 vDeltaAuxCS;    // volume ramp AUX C surround
49
50} AXPBMIX;
51</pre></dd></dl>
52
53<h2>Description</h2>
54<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>
55
56<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>
57
58<p>In <code>AX_MODE_DPL2</code> mode, <code>AXPBMIX</code> is used as follows:</p>
59
60<pre><CODE>
61// NOTE: In DPL2, the AuxC bus is not supported.
62
63    u16 vL;             // volume left
64    u16 vDeltaL;        // volume ramp left
65    u16 vR;             // volume right
66    u16 vDeltaR;        // volume ramp right
67
68    u16 vAuxAL;         // volume AUX A left
69    u16 vDeltaAuxAL;    // volume ramp AUX A left
70    u16 vAuxAR;         // volume AUX A right
71    u16 vDeltaAuxAR;    // volume ramp AUX A right
72
73    u16 vAuxBL;         // volume AUX B left
74    u16 vDeltaAuxBL;    // volume ramp AUX B left
75    u16 vAuxBR;         // volume AUX B right
76    u16 vDeltaAuxBR;    // volume ramp AUX B right
77
78    u16 vAuxCL;         // volume right surround
79    u16 vDeltaAuxCL;    // volume ramp right surround
80    u16 vAuxCR;         // volume Aux A right surround
81    u16 vDeltaAuxCR;    // volume ramp Aux A right surround
82
83    u16 vS;             // volume left surround
84    u16 vDeltaS;        // volume ramp left surround
85    u16 vAuxAS;         // volume AUX A left surround
86    u16 vDeltaAuxAS;    // volume ramp left AUX A surround
87    u16 vAuxBS;         // volume AUX B left surround
88    u16 vDeltaAuxBS;    // volume ramp AUX B left surround
89    u16 vAuxCS;         // volume AUX B right surround
90    u16 vDeltaAuxCS;    // volume ramp AUX B right surround
91
92</CODE></pre>
93
94<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>
95
96<h2>See Also</h2>
97<p class="reference">
98<a href="../Voice_Parameter_Blocks/sync.html">axvpb.sync</a>, <a href="mixerCtrl.html">axvpb.pb.mixerCtrl</a>, <a href="../Voice_Parameters/AXSetVoiceMix.html">AXSetVoiceMix</a>
99</p>
100
101<h2>Revision History</h2>
102<P>
1032006/03/01 Initial version.<BR>
104</P>
105
106<hr><p>CONFIDENTIAL</p></body>
107</html>
108