+++ /dev/null
-/*\r
-* Copyright (c) 2007-2010 SlimDX Group\r
-* \r
-* Permission is hereby granted, free of charge, to any person obtaining a copy\r
-* of this software and associated documentation files (the "Software"), to deal\r
-* in the Software without restriction, including without limitation the rights\r
-* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\r
-* copies of the Software, and to permit persons to whom the Software is\r
-* furnished to do so, subject to the following conditions:\r
-* \r
-* The above copyright notice and this permission notice shall be included in\r
-* all copies or substantial portions of the Software.\r
-* \r
-* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r
-* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r
-* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r
-* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r
-* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r
-* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\r
-* THE SOFTWARE.\r
-*/\r
-#pragma once\r
-\r
-namespace SlimDX\r
-{\r
- namespace DirectSound\r
- {\r
- /// <summary>\r
- /// The SoundEffectParametricEqualizer object is used to set and retrieve effect parameters on a buffer that supports parametric equalizer effects.\r
- /// </summary>\r
- /// <unmanaged>IDirectSoundFXParamEq</unmanaged>\r
- public ref class ParametricEqualizer : public ComObject\r
- {\r
- COMOBJECT(IDirectSoundFXParamEq, ParametricEqualizer);\r
-\r
- public:\r
- /// <summary>\r
- /// Center frequency, in hertz. This value cannot exceed one-third of the frequency of the buffer. The default value is 8000.\r
- /// </summary>\r
- property float Center\r
- {\r
- float get();\r
- void set( float value );\r
- }\r
-\r
- /// <summary>\r
- /// Bandwidth, in semitones. The default value is 12.\r
- /// </summary>\r
- property float Bandwidth\r
- {\r
- float get();\r
- void set( float value );\r
- }\r
-\r
- /// <summary>\r
- /// Gain, The default value is 0.\r
- /// </summary>\r
- property float Gain\r
- {\r
- float get();\r
- void set( float value );\r
- }\r
-\r
- /// <summary>\r
- /// Default center frequency, in hertz.\r
- /// </summary>\r
- literal float CenterDefault = 8000.0f;\r
-\r
- /// <summary>\r
- /// Maximum center frequency, in hertz.\r
- /// </summary>\r
- literal float CenterMax = DSFXPARAMEQ_CENTER_MAX;\r
-\r
- /// <summary>\r
- /// Minimum center frequency, in hertz.\r
- /// </summary>\r
- literal float CenterMin = DSFXPARAMEQ_CENTER_MIN;\r
-\r
- /// <summary>\r
- /// Default bandwidth, in semitones.\r
- /// </summary>\r
- literal float BandwidthDefault = 12.0f;\r
-\r
- /// <summary>\r
- /// Maximum bandwidth, in semitones.\r
- /// </summary>\r
- literal float BandwidthMax = DSFXPARAMEQ_BANDWIDTH_MAX;\r
-\r
- /// <summary>\r
- /// Minimum bandwidth, in semitones.\r
- /// </summary>\r
- literal float BandwidthMin = DSFXPARAMEQ_BANDWIDTH_MIN;\r
-\r
- /// <summary>\r
- /// Default gain.\r
- /// </summary>\r
- literal float GainDefault = 0.0f;\r
-\r
- /// <summary>\r
- /// Maximum gain.\r
- /// </summary>\r
- literal float GainMax = DSFXPARAMEQ_GAIN_MAX;\r
-\r
- /// <summary>\r
- /// Minimum gain.\r
- /// </summary>\r
- literal float GainMin = DSFXPARAMEQ_GAIN_MIN;\r
- };\r
- }\r
-}
\ No newline at end of file