Property SLCommonGen.TSLCommonGen.SampleRate

From Mitov Wiki Doc
(Difference between revisions)
Jump to: navigation, search
(Automated Syncronization with Documentation)
(Automated Syncronization with Documentation)
 
(10 intermediate revisions by one user not shown)
Line 10: Line 10:
 
=== Delphi: ===
 
=== Delphi: ===
 
<code>
 
<code>
'''property''' SampleRate : Real '''read''' FSampleRate '''write''' SetSampleRate;
+
'''property''' SampleRate : Real '''read''' FSampleRate '''write''' SetSampleRate '''default''' 100000;
 
</code>
 
</code>
  
 
=== C++ Builder: ===
 
=== C++ Builder: ===
 
<code>
 
<code>
'''__property''' double SampleRate = { '''read'''=FSampleRate,  '''write'''=SetSampleRate };
+
'''__property''' double SampleRate = { '''read'''=FSampleRate,  '''write'''=SetSampleRate,  '''default'''=100000 };
 
</code>
 
</code>
  

Latest revision as of 00:29, 26 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: TSLCommonGen

Contents

Syntax

Delphi:

property SampleRate : Real read FSampleRate write SetSampleRate default 100000;

C++ Builder:

__property double SampleRate = { read=FSampleRate, write=SetSampleRate, default=100000 };

Summary

Specifies the sample rate for the generator.

Description

Sets the desired sample rate for the generator.


Delphi example:

SLGenericGen1.SampleRate := 10000;

C++ Builder example:

SLGenericGen1->SampleRate = 10000;

Visual C++(MFC/Win32) example:

SLGenericGen1.SampleRate = 10000;

Visual C++/CLI example:

genericGen1->SampleRate = 10000;

C# Example:

genericGen1.SampleRate = 10000;

VB example:

GenericGen1.SampleRate = 10000

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox