Method procedure MLDSPlayer.TMLDSPlayer.Pump()
 (Automated Syncronization with Documentation)  | 
		 (Automated Syncronization with Documentation)  | 
		||
| Line 24: | Line 24: | ||
== Summary ==  | == Summary ==  | ||
| − | Plays one buffer if enabled and [[Property MLDSPlayer.TMLDSPlayer.ClockSource|ClockSource]] is [[Enum item   | + | Plays one buffer if enabled and [[Property MLDSPlayer.TMLDSPlayer.ClockSource|ClockSource]] is [[Enum item SLTypes.TSLClockSource.csExternal|csExternal]].    | 
== Description ==  | == Description ==  | ||
Use the Pump procedure to play a single frame. In order to  | Use the Pump procedure to play a single frame. In order to  | ||
| − | use Pump you must set the [[Property MLDSPlayer.TMLDSPlayer.ClockSource|ClockSource]] to [[Enum item   | + | use Pump you must set the [[Property MLDSPlayer.TMLDSPlayer.ClockSource|ClockSource]] to [[Enum item SLTypes.TSLClockSource.csExternal|csExternal]]. If there  | 
is a higher level pump in the chain such as hardware device  | is a higher level pump in the chain such as hardware device  | ||
the Pump procedure will be ignored. The highest level pump in  | the Pump procedure will be ignored. The highest level pump in  | ||
Revision as of 20:28, 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: TMLDSPlayer
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 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:
VLDSVideoPlayer1.Pump;
C++ Builder example:
VLDSVideoPlayer1->Pump();
Visual C++(MFC) example:
VLDSVideoPlayer1.Pump();
Visual C++/CLI example:
dsVideoPlayer1->Pump();
C# example:
dsVideoPlayer1.Pump();
VB example:
DSVideoPlayer1.Pump