Property ALAmplifier.TALAmplifier.Coefficient

From Mitov Wiki Doc
(Difference between revisions)
Jump to: navigation, search
(Automated Syncronization with Documentation)
 
(Automated Syncronization with Documentation)
Line 10: Line 10:
 
=== Delphi: ===
 
=== Delphi: ===
 
<code>
 
<code>
'''property''' Coefficient : Real '''read''' FCoefficient '''write''' SetCoefficient;
+
'''property''' Coefficient : Real '''read''' FCoefficient '''write''' SetCoefficient '''default''' 1;
 
</code>
 
</code>
  
 
=== C++ Builder: ===
 
=== C++ Builder: ===
 
<code>
 
<code>
'''__property''' double Coefficient = { '''read'''=FCoefficient,  '''write'''=SetCoefficient };
+
'''__property''' double Coefficient = { '''read'''=FCoefficient,  '''write'''=SetCoefficient,  '''default'''=1 };
 
</code>
 
</code>
  

Revision as of 20:29, 10 June 2013

This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.

Class: TALAmplifier

Contents

Syntax

Delphi:

property Coefficient : Real read FCoefficient write SetCoefficient default 1;

C++ Builder:

__property double Coefficient = { read=FCoefficient, write=SetCoefficient, default=1 };

Summary

Coefficient for the audio amplifier

Description

Use this property to specify the coefficient for the audio amplifier. The input signal will be multiplied by this coefficient to produce the output.


Delphi example:

ALAmplifier1.Coefficient := 3.5;

C++ Builder example:

ALAmplifier1->Coefficient = 3.5;

Visual C++(MFC/Win32) example:

ALAmplifier1.Coefficient = 3.5;

Visual C++/CLI example:

amplifier1->Coefficient = 3.5;

C# example:

amplifier1.Coefficient = 3.5;

VB example:

Amplifier1.Coefficient = 3.5

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox