Property ALOggPlayer.TALOggPlayer.Enabled
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: TALOggPlayer
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:
ALOggPlayer1.Enabled := True;
C++ Builder example:
ALOggPlayer1->Enabled = true;
Visual C++(MFC/Win32) example:
ALOggPlayer1.Enabled = true;
Visual C++/CLI example:
oggPlayer1->Enabled = true;
C# example:
oggPlayer1.Enabled = true;
VB example:
OggPlayer1.Enabled = True