Property ALCommonPlayer.TALCommonPlayer.Enabled

From Mitov Wiki Doc
Revision as of 00:23, 22 November 2011 by David Alm (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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:

property Enabled : Boolean read FEnabled write SetEnabled default True;

C++ Builder:

__property bool Enabled = { read=FEnabled, write=SetEnabled, default=True };

Summary

Enables/Disables the player.

Description

Enables or disables the player.

If the component is pumping the audio by itself ( the common case ), Enable set to True will start the playing, and False will stop it.

If the component is connected to external data pump, the Enable = False will start producing zero filled buffers on each pump request.


Delphi example:

ALWavePlayer1.Enabled := True;

C++ Builder example:

ALWavePlayer1->Enabled = true;

Visual C++(MFC/Win32) example:

ALWavePlayer1.Enabled = true;

Visual C++/CLI example:

waveLogger1->Enabled = true;

C# example:

waveLogger1.Enabled = true;

VB example:

WaveLogger1.Enabled = True

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox