Method procedure ALCommonPlayer.TALCommonPlayer.Pump()

From Mitov Wiki Doc
Revision as of 02:45, 11 June 2013 by David Alm (Talk | contribs)
Jump to: navigation, search

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: TALCommonPlayer

Contents

Syntax

Delphi:

procedure Pump();

C++ Builder:

void __fastcall Pump();

Visual C++ (MFC):

void Pump();

Summary

Plays one buffer if enabled and ClockSource is csExternal.

Description

Use the Pump procedure to play a single audio frame. In order to use Pump you must set the ClockSource to csExternal. If there is a higher level pump in the chain such as hardware device the Pump procedure will be ignored. The highest level pump in the chain serves as a master pump and obtains full control of the pumping.


Delphi example:

ALWavePlayer1.Pump;

C++ Builder example:

ALWavePlayer1->Pump();

Visual C++(MFC/Win32) example:

ALWavePlayer1.Pump();

Visual C++/CLI example:

wavePlayer1->Pump();

C# Example:

wavePlayer1.Pump();

VB Example:

WavePlayer1.Pump

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox