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>AXSetVoiceRmtOn</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">AXSetVoiceRmtOn</h1> 15 16<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include <revolution/ax.h> 19 20#define AX_PB_REMOTE_OFF 0x0000 21#define AX_PB_REMOTE_ON 0x0001 22 23void AXSetVoiceRmtOn(AXVPB *p, u16 on); 24</pre></dd></dl> 25 26<h2>Arguments</h2> 27<TABLE class="arguments" border="1" > 28 <tr> 29<th>p</th> 30<td>Pointer to the specified voice.</td> 31 </tr> 32 <tr> 33<th><STRONG><EM><CODE>on</CODE></EM></STRONG></th> 34<td>Specifies that voice processing for the controller speaker start/stop.</td> 35 </tr> 36</table> 37 38<h2>Return Values</h2> 39<p>None.</p> 40 41<h2>Description</h2> 42<p>The <code>AXSetVoiceRmtOn</code> function specifies whether to perform voice processing for the controller speaker using the specified voice. In reality, the function sets the <code>remote</code> parameter for the specified voice.</p> 43 44<p>If <code>AX_PB_REMOTE_ON</code> has been specified for the argument <SPAN class="argument">on</SPAN>, the DSP will perform voice for the controller speaker in addition to voice processing for regular audio output. If <code>AX_PB_REMOTE_OFF</code> is specified, the DSP will not perform voice processing for the controller speaker. When there is no need to play voice output from the controller speaker, specify <code>AX_PB_REMOTE_OFF</code> to limit unnecessary DSP cycle consumption.</p> 45 46<p>The <code>AXSetVoiceRmtOn</code> function asserts the synchronous flag <code>AX_SYNC_USER_REMOTE</code> for <code>axvpb.sync</code>.</p> 47 48<h2>See Also</h2> 49<p class="reference"> 50<a href="../Voice_Parameter_Blocks/sync.html">axvpb.sync</a>, <a href="../Parameter_Blocks/remote.html">axvpb.pb.remote</a> 51</p> 52 53<h2>Revision History</h2> 54<P> 552006/07/31 Initial version.<br> 56</P> 57 58<hr><p>CONFIDENTIAL</p></body> 59</html> 60