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 17<h2>C Specification</h2> 18<BLOCKQUOTE> 19<pre><code>#include <revolution.h> 20 21#define AX_PB_REMOTE_OFF 0x0000 22#define AX_PB_REMOTE_ON 0x0001 23 24void AXSetVoiceRmtOn(AXVPB *p, u16 on); 25</CODE></pre> 26</BLOCKQUOTE> 27<h2>Arguments</h2> 28 29<table border="1" cellpadding="3" cellspacing="0.1"> 30 <tr> 31<td width="120" bgcolor="#ffffe8"><em><strong><code>p</code></strong></em></td> 32<td width="520">Pointer to the specified voice.</td> 33 </tr> 34 <tr> 35<td width="120" bgcolor="#ffffe8"><em><strong><code><STRONG><EM><CODE>on</CODE></EM></STRONG></code></strong></em></td> 36<td width="520">Specifies that voice processing for the controller speaker start/stop.</td> 37 </tr> 38</table> 39 40<h2>Return Values</h2> 41 42<p>None.</p> 43 44<h2>Description</h2> 45 46<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> 47 48<p>If <code>AX_PB_REMOTE_ON</code> has been specified for the argument <code>on</code>, 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. If there is no need to play voice output from the controller speaker, <code>AX_PB_REMOTE_OFF</code> should be specified to keep down the consumption of extra DSP cycles.</p> 49 50<p>The <code>AXSetVoiceRmtOn</code> function asserts the synchronous flag <code>AX_SYNC_USER_REMOTE</code> for <code>axvpb.sync</code>.</p> 51 52<h2>See Also</h2> 53 54<p> 55<code><a href="../Voice_Parameter_Blocks/sync.html">axvpb.sync</a><br> <a href="../Parameter_Blocks/remote.html">axvpb.pb.remote</a><br></code> 56</p> 57 58<h2>Revision History</h2> 59 60<P>2006/07/31 Initial version.</P> 61 62<hr> 63<P>CONFIDENTIAL</p> 64</BODY> 65</HTML> 66