<html dir="LTR">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
    <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
    <title>ISoundEffectControl.EnableCompressorSoundEffect Method (Single, Single, Single, Single, Single, Single)</title>
    <xml>
    </xml>
    <link rel="stylesheet" type="text/css" href="MSDN.css" />
  </head>
  <body id="bodyID" class="dtBODY">
    <div id="nsbanner">
      <div id="bannerrow1">
        <table class="bannerparthead" cellspacing="0">
          <tr id="hdr">
            <td class="runninghead">IrrKlang.NET</td>
            <td class="product">
            </td>
          </tr>
        </table>
      </div>
      <div id="TitleRow">
        <h1 class="dtH1">ISoundEffectControl.EnableCompressorSoundEffect Method (Single, Single, Single, Single, Single, Single)</h1>
      </div>
    </div>
    <div id="nstext">
      <p> Enables the Compressor sound effect with default values. Compressor is a reduction in the fluctuation of a signal above a certain amplitude. </p>
      <div class="syntax">
        <span class="lang">[Visual Basic]</span>
        <br />Overloads Public Function EnableCompressorSoundEffect( _<br />   ByVal <i>fGain</i> As <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemSingleClassTopic.htm">Single</a>, _<br />   ByVal <i>fAttack</i> As <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemSingleClassTopic.htm">Single</a>, _<br />   ByVal <i>fRelease</i> As <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemSingleClassTopic.htm">Single</a>, _<br />   ByVal <i>fThreshold</i> As <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemSingleClassTopic.htm">Single</a>, _<br />   ByVal <i>fRatio</i> As <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemSingleClassTopic.htm">Single</a>, _<br />   ByVal <i>fPredelay</i> As <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemSingleClassTopic.htm">Single</a> _<br />) As <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemBooleanClassTopic.htm">Boolean</a></div>
      <div class="syntax">
        <span class="lang">[C#]</span>
        <br />public <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemBooleanClassTopic.htm">bool</a> EnableCompressorSoundEffect(<br />   <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemSingleClassTopic.htm">float</a> <i>fGain</i>,<br />   <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemSingleClassTopic.htm">float</a> <i>fAttack</i>,<br />   <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemSingleClassTopic.htm">float</a> <i>fRelease</i>,<br />   <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemSingleClassTopic.htm">float</a> <i>fThreshold</i>,<br />   <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemSingleClassTopic.htm">float</a> <i>fRatio</i>,<br />   <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemSingleClassTopic.htm">float</a> <i>fPredelay</i><br />);</div>
      <h4 class="dtH4">Return Value</h4>
      <p>Returns true if successful.</p>
      <h4 class="dtH4">See Also</h4>
      <p>
        <a href="IrrKlang.ISoundEffectControl.html">ISoundEffectControl Class</a> | <a href="IrrKlang.html">IrrKlang Namespace</a> | <a href="IrrKlang.ISoundEffectControl.EnableCompressorSoundEffect_overloads.html">ISoundEffectControl.EnableCompressorSoundEffect Overload List</a></p>
      <object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;">
        <param name="Keyword" value="EnableCompressorSoundEffect method">
        </param>
        <param name="Keyword" value="EnableCompressorSoundEffect method, ISoundEffectControl class">
        </param>
        <param name="Keyword" value="ISoundEffectControl.EnableCompressorSoundEffect method">
        </param>
      </object>
      <hr />
      <div id="footer">
        <p>
          <a>The irrKlang Sound Engine Documentation © 2003-2010 by Nikolaus Gebhardt.</a>
        </p>
        <p>
        </p>
      </div>
    </div>
  </body>
</html>