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.rmtMix</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.rmtMix</h1>
15
16<h2>Syntax</h2>
17<dl><dd><pre class="construction">
18typedef struct _AXPBRMTMIX
19{
20
21    u16     vMain0;       // Controller 0 main volume
22    u16     vDeltaMain0;  // Controller 0 amount to change main volume
23    u16     vAux0;        // Controller 0 Aux volume
24    u16     vDeltaAux0;   // Controller 0 amount to change Aux volume
25
26    u16     vMain1;       // Controller 1 main volume
27    u16     vDeltaMain1;  // Controller 1 amount o change main volume
28    u16     vAux1;        // Controller 1 Aux volume
29    u16     vDeltaAux1;   // Controller 1 amount to change Aux volume
30
31    u16     vMain2;       // Controller 2 main volume
32    u16     vDeltaMain2;  // Controller 2 amount to change main volume
33    u16     vAux2;        // Controller 2 Aux volume
34    u16     vDeltaAux2;   // Controller 2 amount to change Aux volume
35
36    u16     vMain3;       // Controller 3 main volume
37    u16     vDeltaMain3;  // Controller 3 amount to change main volume
38    u16     vAux3;        // Controller 3 Aux volume
39    u16     vDeltaAux3;   // Controller 3 amount to change Aux volume
40
41} AXPBRMTMIX;
42</pre></dd></dl>
43
44<h2>Description</h2>
45<p><code>AXPBRMTMIX</code> specifies the mixing parameter for the controller's speaker. Volume is expressed as a 16-bit, fixed-point number (most significant bit for the integer, 15 bits of fraction).</p>
46
47<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>
48
49<p>Mixing parameters are set for each voice.</p>
50
51<p>When playing audio from a controller speaker, not only must the appropriate mixing parameters be set, but voice processing for the controller speaker must be enabled by setting <CODE>AX_PB_REMOTE_ON</CODE> in <code>axvpb.pb.remote</code>. Furthermore, the value of <code>axvpb.pb.rmtMixerCtrl</code> must be initialized correctly in order to apply mixing parameters.</p>
52
53<p>The user must assert the <code>AX_SYNC_USER_RMTMIX</code> bit in the <code>axvpb.sync</code> member when any of the above mixing parameters have changed.</p>
54
55<p><strong>Note:</strong> An Aux bus for the controller speaker is not implemented.</p>
56
57<h2>See Also</h2>
58<p class="reference">
59<a href="../Voice_Parameter_Blocks/sync.html">axvpb.sync</a>, <a href="rmtMixerCtrl.html">axvpb.pb.rmtMixerCtrl</a>, <a href="remote.html">axvpb.pb.remote</a>, <a href="../Voice_Parameters/AXSetVoiceRmtMix.html">AXSetVoiceRmtMix</a>
60</p>
61
62<h2>Revision History</h2>
63<P>
642006/07/31 Initial version.<BR>
65</P>
66
67<hr><p>CONFIDENTIAL</p></body>
68</html>
69