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>AXFX_DELAY/AXFX_DELAY_DPL2</TITLE> 7<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 8<META http-equiv="Content-Style-Type" content="text/css"> 9</head> 10 11<BODY> 12 13<H1 align="left">AXFX_DELAY/AXFX_DELAY_DPL2</H1> 14 15<H2>C Specification</H2> 16<BLOCKQUOTE> 17<PRE><CODE> 18#include <revolution.h> 19#include <revolution/axfx.h> 20 21/*----------------------------------------------* 22 For mono, stereo, surround 23 *----------------------------------------------*/ 24 25typedef struct AXFX_DELAY 26{ 27 // do not touch these! 28 s32 *line[3]; 29 30 (omitted) 31 32 u32 active; 33 34 // user parameters 35 u32 delay[3]; // Delay buffer length in ms per channel 36 u32 feedback[3]; // Feedback volume in % per channel 37 u32 output[3]; // Output volume in % per channel 38 39} AXFX_DELAY; 40 41/*----------------------------------------------* 42 For Dolby Pro Logic II 43 *----------------------------------------------*/ 44 45typedef struct AXFX_DELAY_DPL2 46{ 47 // do not touch these! 48 s32 *line[4]; 49 50 (omitted) 51 52 u32 active; 53 54 // user parameters 55 u32 delay[4]; // Delay buffer length in ms per channel 56 u32 feedback[4]; // Feedback volume in % per channel 57 u32 output[4]; // Output volume in % per channel 58 59} AXFX_DELAY_DPL2; 60</CODE></PRE> 61</BLOCKQUOTE> 62 63<H2>Description</H2> 64<P>When using Delay, you must assign appropriate values to the following parameters of the <code>AXFX_DELAY</CODE> or <CODE>AXFX_DELAY_DPL2</code> structure. Normally, the <code>AXFX_DELAY</code> structure is used, while the <code>AXFX_DELAY_DPL2</code> structure is used with Dolby Pro Logic II.</P> 65 66<table border="1" > 67 <tbody> 68 <tr> 69 <td width="120" align="center" bgcolor="#ffffe8"><CODE><STRONG><EM>delay</EM></STRONG></CODE></td> 70<td width="480">Length of the delay line (=delay time of input audio). Specify a value greater than 0 (units of msec).</td> 71 </tr> 72 <tr> 73 <td width="120" align="center" bgcolor="#ffffe8"><CODE><STRONG><EM>feedback</EM></STRONG></CODE></td> 74<td width="480">Feedback gain. Specify a value in percent (%) such that <EM>value</EM> < 100.</td> 75 </tr> 76 <tr> 77 <td width="120" align="center" bgcolor="#ffffe8"><CODE><STRONG><EM>output</EM></STRONG></CODE></td> 78<td width="480">Output gain. Specify a value in percent (%) such that <EM>value</EM> <= 100.</td> 79 </tr> 80 </tbody> 81</table> 82 83<p><strong>Note:</strong> All the various parameters must be set for each channel, in the channel order (Left) -> (Right) -> (Surround). For Dolby Pro Logic II, the order is (Left Front) -> (Right Front) -> (Left Rear) -> (Right Rear).</p> 84 85<H2>Revision History</H2> 86<P> 872007/08/06 Initial version.<br> 88</P> 89 90<hr><p>CONFIDENTIAL</p></body> 91</HTML> 92