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 17<h2>C Specification</h2> 18<BLOCKQUOTE> 19<pre><CODE>typedef struct _AXPBRMTMIX 20{ 21 22 u16 vMain0; // Controller 0 main volume 23 u16 vDeltaMain0; // Controller 0 amount to change main volume 24 u16 vAux0; // Controller 0 Aux volume 25 u16 vDeltaAux0; // Controller 0 amount to change Aux volume 26 27 u16 vMain1; // Controller 1 main volume 28 u16 vDeltaMain1; // Controller 1 amount to change main volume 29 u16 vAux1; // Controller 1 Aux volume 30 u16 vDeltaAux1; // Controller 1 amount to change Aux volume 31 32 u16 vMain2; // Controller 2 main volume 33 u16 vDeltaMain2; // Controller 2 amount to change main volume 34 u16 vAux2; // Controller 2 Aux volume 35 u16 vDeltaAux2; // Controller 2 amount to change Aux volume 36 37 u16 vMain3; // Controller 3 main volume 38 u16 vDeltaMain3; // Controller 3 amount to change main volume 39 u16 vAux3; // Controller 3 Aux volume 40 u16 vDeltaAux3; // Controller 3 amount to change Aux volume 41 42} AXPBRMTMIX;</CODE></pre> 43</BLOCKQUOTE> 44 45<h2>Description</h2> 46 47<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> 48 49<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> 50 51<p>Mixing parameters are set for each voice.</p> 52 53<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>. Furthermore, the value of <code>axvpb.pb.rmtMixerCtrl</code> must be initialized correctly in order to apply mixing parameters.</p> 54 55<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> 56 57<p><strong>Note:</strong> An Aux bus for the controller speaker is not implemented.</p> 58 59<h2>See Also</h2> 60<p> 61<code><a href="../Voice_Parameter_Blocks/sync.html">axvpb.sync</a><br> <a href="rmtMixerCtrl.html">axvpb.pb.rmtMixerCtrl</a><br> <a href="remote.html">axvpb.pb.remote</a><br> <a href="../Voice_Parameters/AXSetVoiceRmtMix.html">AXSetVoiceRmtMix</a></code> 62</p> 63 64<h2>Revision History</h2> 65 66<P>2006/07/31 Initial version.</P> 67 68<hr> 69<P>CONFIDENTIAL</p> 70</BODY> 71</HTML> 72