Property ALAudioIn.TALAudioIn.PumpPriority

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''' PumpPriority : Integer '''read''' FPumpPriority '''write''' FPumpPriority '''default''' 0;
+
'''property''' PumpPriority : Cardinal '''read''' FPumpPriority '''write''' FPumpPriority '''default''' 0;
 
</code>
 
</code>
  
 
=== C++ Builder: ===
 
=== C++ Builder: ===
 
<code>
 
<code>
'''__property''' int PumpPriority = { '''read'''=FPumpPriority,  '''write'''=FPumpPriority,  '''default'''=0 };
+
'''__property''' unsigned int PumpPriority = { '''read'''=FPumpPriority,  '''write'''=FPumpPriority,  '''default'''=0 };
 
</code>
 
</code>
  

Revision as of 20:30, 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: TALAudioIn

Contents

Syntax

Delphi:

property PumpPriority : Cardinal read FPumpPriority write FPumpPriority default 0;

C++ Builder:

__property unsigned int PumpPriority = { read=FPumpPriority, write=FPumpPriority, default=0 };

Summary

Specifies the priority of the component as a pump.

Description

TALAudioIn is capable of pumping data. It means that if no other pumping component is presented, TALAudioIn will start generating frames, and sending them via its OutputPin. TALAudioIn is a master level pump. Any pump with a level below master will be ignored and the component will serve as a pump. If there is a pump above maser level, the component will work in slave mode, providing data on the pump request. If the other pump is a master as well, the priority number will be used to determine who will serve as a pump. If both priorities are equal, one of the pumps will be selected to serve as a data pump.


Delphi example:

ALAudioIn1.PumpPriority := 5;

C++ Builder example:

ALAudioIn1->PumpPriority = 5;

Visual C++(MFC/Win32) example:

ALAudioIn1.PumpPriority = 5;

Visual C++/CLI example:

audioIn1->PumpPriority = 5;

C# example:

audioIn1.PumpPriority = 5;

VB example:

AudioIn1.PumpPriority = 5

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox