2 * Copyright (c) 2007-2010 SlimDX Group
\r
4 * Permission is hereby granted, free of charge, to any person obtaining a copy
\r
5 * of this software and associated documentation files (the "Software"), to deal
\r
6 * in the Software without restriction, including without limitation the rights
\r
7 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
\r
8 * copies of the Software, and to permit persons to whom the Software is
\r
9 * furnished to do so, subject to the following conditions:
\r
11 * The above copyright notice and this permission notice shall be included in
\r
12 * all copies or substantial portions of the Software.
\r
14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
\r
15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
\r
16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
\r
17 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
\r
18 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
\r
19 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
\r
26 namespace DirectSound
\r
29 /// The SoundEffectEcho object is used to set and retrieve effect parameters on a buffer that supports echo.
\r
31 /// <unmanaged>IDirectSoundFXEcho</unmanaged>
\r
32 public ref class EchoEffect : public ComObject
\r
34 COMOBJECT(IDirectSoundFXEcho, EchoEffect);
\r
38 /// Delay for right channel, in milliseconds. The default value is 500 ms.
\r
40 property float RightDelay
\r
43 void set( float value );
\r
47 /// Delay for left channel, in milliseconds. The default value is 500 ms.
\r
49 property float LeftDelay
\r
52 void set( float value );
\r
56 /// Value that specifies whether to swap left and right delays with each successive echo. The default value is zero, meaning no swap.
\r
58 property int PanDelay
\r
61 void set( int value );
\r
65 /// Percentage of output fed back into input. The default value is 50.
\r
67 property float Feedback
\r
70 void set( float value );
\r
74 /// Ratio of wet (processed) signal to dry (unprocessed) signal.
\r
76 property float WetDryMix
\r
79 void set( float value );
\r
83 /// Default ratio of wet (processed) signal to dry (unprocessed) signal.
\r
85 literal float WetDryMixDefault = 50.0f;
\r
88 /// Maximum ratio of wet (processed) signal to dry (unprocessed) signal.
\r
90 literal float WetDryMixMax = DSFXECHO_WETDRYMIX_MAX;
\r
93 /// Minimum ratio of wet (processed) signal to dry (unprocessed) signal.
\r
95 literal float WetDryMixMin = DSFXECHO_WETDRYMIX_MIN;
\r
98 /// Default delay for left channel, in milliseconds.
\r
100 literal float LeftDelayDefault = 500.0f;
\r
103 /// Maximum delay for left channel, in milliseconds.
\r
105 literal float LeftDelayMax = DSFXECHO_LEFTDELAY_MAX;
\r
108 /// Minimum delay for left channel, in milliseconds.
\r
110 literal float LeftDelayMin = DSFXECHO_LEFTDELAY_MIN;
\r
113 /// Default delay for right channel, in milliseconds.
\r
115 literal float RightDelayDefault = 500.0f;
\r
118 /// Maximum delay for right channel, in milliseconds.
\r
120 literal float RightDelayMax = DSFXECHO_RIGHTDELAY_MAX;
\r
123 /// Minimum delay for right channel, in milliseconds.
\r
125 literal float RightDelayMin = DSFXECHO_RIGHTDELAY_MIN;
\r
128 /// Default value that specifies whether to swap left and right delays with each successive echo. The default value is zero, meaning no swap.
\r
130 literal int PanDelayDefault = 0;
\r
133 /// Maximum value that specifies whether to swap left and right delays with each successive echo. The default value is zero, meaning no swap.
\r
135 literal int PanDelayMax = DSFXECHO_PANDELAY_MAX;
\r
138 /// Minimum value that specifies whether to swap left and right delays with each successive echo. The default value is zero, meaning no swap.
\r
140 literal int PanDelayMin = DSFXECHO_PANDELAY_MIN;
\r
143 /// Default percentage of output fed back into input.
\r
145 literal float FeedbackDefault = 50.0f;
\r
148 /// Maximum percentage of output fed back into input.
\r
150 literal float FeedbackMax = DSFXECHO_FEEDBACK_MAX;
\r
153 /// Minimum percentage of output fed back into input.
\r
155 literal float FeedbackMin = DSFXECHO_FEEDBACK_MIN;
\r