+++ /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 SoundEffectEcho object is used to set and retrieve effect parameters on a buffer that supports echo.\r
- /// </summary>\r
- /// <unmanaged>IDirectSoundFXEcho</unmanaged>\r
- public ref class EchoEffect : public ComObject\r
- {\r
- COMOBJECT(IDirectSoundFXEcho, EchoEffect);\r
-\r
- public:\r
- /// <summary>\r
- /// Delay for right channel, in milliseconds. The default value is 500 ms.\r
- /// </summary>\r
- property float RightDelay\r
- {\r
- float get();\r
- void set( float value );\r
- }\r
-\r
- /// <summary>\r
- /// Delay for left channel, in milliseconds. The default value is 500 ms.\r
- /// </summary>\r
- property float LeftDelay\r
- {\r
- float get();\r
- void set( float value );\r
- }\r
-\r
- /// <summary>\r
- /// Value that specifies whether to swap left and right delays with each successive echo. The default value is zero, meaning no swap.\r
- /// </summary>\r
- property int PanDelay\r
- {\r
- int get();\r
- void set( int value );\r
- }\r
-\r
- /// <summary>\r
- /// Percentage of output fed back into input. The default value is 50.\r
- /// </summary>\r
- property float Feedback\r
- {\r
- float get();\r
- void set( float value );\r
- }\r
-\r
- /// <summary>\r
- /// Ratio of wet (processed) signal to dry (unprocessed) signal.\r
- /// </summary>\r
- property float WetDryMix\r
- {\r
- float get();\r
- void set( float value );\r
- }\r
-\r
- /// <summary>\r
- /// Default ratio of wet (processed) signal to dry (unprocessed) signal.\r
- /// </summary>\r
- literal float WetDryMixDefault = 50.0f;\r
-\r
- /// <summary>\r
- /// Maximum ratio of wet (processed) signal to dry (unprocessed) signal.\r
- /// </summary>\r
- literal float WetDryMixMax = DSFXECHO_WETDRYMIX_MAX;\r
-\r
- /// <summary>\r
- /// Minimum ratio of wet (processed) signal to dry (unprocessed) signal.\r
- /// </summary>\r
- literal float WetDryMixMin = DSFXECHO_WETDRYMIX_MIN;\r
-\r
- /// <summary>\r
- /// Default delay for left channel, in milliseconds.\r
- /// </summary>\r
- literal float LeftDelayDefault = 500.0f;\r
-\r
- /// <summary>\r
- /// Maximum delay for left channel, in milliseconds.\r
- /// </summary>\r
- literal float LeftDelayMax = DSFXECHO_LEFTDELAY_MAX;\r
-\r
- /// <summary>\r
- /// Minimum delay for left channel, in milliseconds.\r
- /// </summary>\r
- literal float LeftDelayMin = DSFXECHO_LEFTDELAY_MIN;\r
-\r
- /// <summary>\r
- /// Default delay for right channel, in milliseconds.\r
- /// </summary>\r
- literal float RightDelayDefault = 500.0f;\r
-\r
- /// <summary>\r
- /// Maximum delay for right channel, in milliseconds.\r
- /// </summary>\r
- literal float RightDelayMax = DSFXECHO_RIGHTDELAY_MAX;\r
-\r
- /// <summary>\r
- /// Minimum delay for right channel, in milliseconds.\r
- /// </summary>\r
- literal float RightDelayMin = DSFXECHO_RIGHTDELAY_MIN;\r
-\r
- /// <summary>\r
- /// Default value that specifies whether to swap left and right delays with each successive echo. The default value is zero, meaning no swap.\r
- /// </summary>\r
- literal int PanDelayDefault = 0;\r
-\r
- /// <summary>\r
- /// Maximum value that specifies whether to swap left and right delays with each successive echo. The default value is zero, meaning no swap.\r
- /// </summary>\r
- literal int PanDelayMax = DSFXECHO_PANDELAY_MAX;\r
-\r
- /// <summary>\r
- /// Minimum value that specifies whether to swap left and right delays with each successive echo. The default value is zero, meaning no swap.\r
- /// </summary>\r
- literal int PanDelayMin = DSFXECHO_PANDELAY_MIN;\r
-\r
- /// <summary>\r
- /// Default percentage of output fed back into input.\r
- /// </summary>\r
- literal float FeedbackDefault = 50.0f;\r
-\r
- /// <summary>\r
- /// Maximum percentage of output fed back into input.\r
- /// </summary>\r
- literal float FeedbackMax = DSFXECHO_FEEDBACK_MAX;\r
-\r
- /// <summary>\r
- /// Minimum percentage of output fed back into input.\r
- /// </summary>\r
- literal float FeedbackMin = DSFXECHO_FEEDBACK_MIN;\r
- };\r
- }\r
-}
\ No newline at end of file