Type ALGenericGen.TALAudioBufferGenEvent

From Mitov Wiki Doc
(Difference between revisions)
Jump to: navigation, search
(Automated Syncronization with Documentation)
 
(Automated Syncronization with Documentation)
 
(7 intermediate revisions by one user not shown)
Line 12: Line 12:
 
=== Delphi: ===
 
=== Delphi: ===
 
<code>
 
<code>
'''type procedure''' [[Type ALGenericGen.TALAudioBufferGenEvent|TALAudioBufferGenEvent]]( Sender : TObject, '''var''' OutBuffer : [[Interface ALSimpleAudioBuffer.IALAudioBuffer|IALAudioBuffer]], '''var''' Populated : Boolean, '''var''' Finished : Boolean ) '''of object''';
+
'''type procedure''' [[Type ALGenericGen.TALAudioBufferGenEvent|TALAudioBufferGenEvent]]( Sender : TObject, '''var''' OutBuffer : IALAudioBuffer, '''var''' Populated : Boolean, '''var''' Finished : Boolean ) '''of object''';
 
</code>
 
</code>
  
 
=== C++ Builder: ===
 
=== C++ Builder: ===
 
<code>
 
<code>
'''typedef void''' '''__fastcall''' ('''__closure''' *[[Type ALGenericGen.TALAudioBufferGenEvent|TALAudioBufferGenEvent]])( TObject * Sender, [[Interface ALSimpleAudioBuffer.IALAudioBuffer|IALAudioBuffer]] &OutBuffer, bool &Populated, bool &Finished );
+
'''typedef void''' '''__fastcall''' ('''__closure''' *[[Type ALGenericGen.TALAudioBufferGenEvent|TALAudioBufferGenEvent]])( TObject * Sender, IALAudioBuffer &OutBuffer, bool &Populated, bool &Finished );
 
</code>
 
</code>
  

Latest revision as of 00:10, 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.

Package: AudioLabBasicPkg

Unit: ALGenericGen

Contents

Syntax

Delphi:

type procedure TALAudioBufferGenEvent( Sender : TObject, var OutBuffer : IALAudioBuffer, var Populated : Boolean, var Finished : Boolean ) of object;

C++ Builder:

typedef void __fastcall (__closure *TALAudioBufferGenEvent)( TObject * Sender, IALAudioBuffer &OutBuffer, bool &Populated, bool &Finished );

Summary

Event type to be used by the TALGenericGen.

Description

Defines a callback event to be used by the TALGenericGen . To provide data populate the OutBuffer. To force the generator to ignore the data request, set the Finished to False. If you decide not to populate the buffer set the Populated to False. In this case the generator will zero the buffer.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox