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 SoundEffectParametricEqualizer object is used to set and retrieve effect parameters on a buffer that supports parametric equalizer effects.
\r
31 /// <unmanaged>IDirectSoundFXParamEq</unmanaged>
\r
32 public ref class ParametricEqualizer : public ComObject
\r
34 COMOBJECT(IDirectSoundFXParamEq, ParametricEqualizer);
\r
38 /// Center frequency, in hertz. This value cannot exceed one-third of the frequency of the buffer. The default value is 8000.
\r
40 property float Center
\r
43 void set( float value );
\r
47 /// Bandwidth, in semitones. The default value is 12.
\r
49 property float Bandwidth
\r
52 void set( float value );
\r
56 /// Gain, The default value is 0.
\r
61 void set( float value );
\r
65 /// Default center frequency, in hertz.
\r
67 literal float CenterDefault = 8000.0f;
\r
70 /// Maximum center frequency, in hertz.
\r
72 literal float CenterMax = DSFXPARAMEQ_CENTER_MAX;
\r
75 /// Minimum center frequency, in hertz.
\r
77 literal float CenterMin = DSFXPARAMEQ_CENTER_MIN;
\r
80 /// Default bandwidth, in semitones.
\r
82 literal float BandwidthDefault = 12.0f;
\r
85 /// Maximum bandwidth, in semitones.
\r
87 literal float BandwidthMax = DSFXPARAMEQ_BANDWIDTH_MAX;
\r
90 /// Minimum bandwidth, in semitones.
\r
92 literal float BandwidthMin = DSFXPARAMEQ_BANDWIDTH_MIN;
\r
97 literal float GainDefault = 0.0f;
\r
102 literal float GainMax = DSFXPARAMEQ_GAIN_MAX;
\r
107 literal float GainMin = DSFXPARAMEQ_GAIN_MIN;
\r