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>Syntax</H2>
16<dl><dd><pre class="construction">
17#include &lt;revolution.h&gt;
18#include &lt;revolution/axfx.h&gt;
19
20/*----------------------------------------------*
21    For mono, stereo, surround
22 *----------------------------------------------*/
23
24typedef struct AXFX_DELAY
25{
26    // do not touch these!
27    s32       *line[3];
28
29       (omitted)
30
31    u32        active;
32
33    // user parameters
34    u32        delay[3];       // Delay buffer length in ms per channel
35    u32        feedback[3];    // Feedback volume in % per channel
36    u32        output[3];      // Output volume in % per channel
37
38} AXFX_DELAY;
39
40/*----------------------------------------------*
41    For Dolby Pro Logic II
42 *----------------------------------------------*/
43
44typedef struct AXFX_DELAY_DPL2
45{
46    // do not touch these!
47    s32       *line[4];
48
49       (omitted)
50
51    u32        active;
52
53    // user parameters
54    u32        delay[4];       // Delay buffer length in ms per channel
55    u32        feedback[4];    // Feedback volume in % per channel
56    u32        output[4];      // Output volume in % per channel
57
58} AXFX_DELAY_DPL2;
59</pre></dd></dl>
60
61<h2>Elements</h2>
62<TABLE class="arguments" border="1" >
63  <tr>
64<TH><CODE><STRONG><EM>delay</EM></STRONG></CODE></TH>
65<TD>Length of the delay line (=delay time of input audio). Specify a value greater than 0 (units of msec).</TD>
66  </tr>
67  <tr>
68<TH><CODE><STRONG><EM>feedback</EM></STRONG></CODE></TH>
69<TD>Feedback gain. Specify a value in percent (%) such that <EM>value</EM> &lt; 100.</TD>
70  </tr>
71  <tr>
72<TH><CODE><STRONG><EM>output</EM></STRONG></CODE></TH>
73<TD>Output gain. Specify a value in percent (%) such that <EM>value</EM> &lt;= 100.</TD>
74  </tr>
75</TABLE>
76
77<H2>Description</H2>
78<P>When using Delay, you must assign appropriate values to the various 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>
79
80<p><strong>Note: All the various parameters must be set for each channel, in the channel order (Left)  (Right)  (Surround). In the case of Dolby Pro Logic II, the order is (Left Front)  (Right Front)  (Left Rear)  (Right Rear).</strong></p>
81
82
83<H2>See Also</H2>
84<P class="reference">
85</P>
86
87<H2>Revision History</H2>
88<P>
892007/08/06 Initial version.<br>
90</P>
91
92<hr><p>CONFIDENTIAL</p></body>
93</HTML>
94