Property MLASFPlayer.TMLASFBasicPlayer.PlaybackSpeed

From Mitov Wiki Doc
(Difference between revisions)
Jump to: navigation, search
(Automated Syncronization with Documentation)
 
(Automated Syncronization with Documentation)
Line 10: Line 10:
 
=== Delphi: ===
 
=== Delphi: ===
 
<code>
 
<code>
'''property''' PlaybackSpeed : Single '''read''' FPlaybackSpeed '''write''' SetPlaybackSpeed;
+
'''property''' PlaybackSpeed : Single '''read''' FPlaybackSpeed '''write''' SetPlaybackSpeed '''default''' 1;
 
</code>
 
</code>
  
 
=== C++ Builder: ===
 
=== C++ Builder: ===
 
<code>
 
<code>
'''__property''' float PlaybackSpeed = { '''read'''=FPlaybackSpeed,  '''write'''=SetPlaybackSpeed };
+
'''__property''' float PlaybackSpeed = { '''read'''=FPlaybackSpeed,  '''write'''=SetPlaybackSpeed,  '''default'''=1 };
 
</code>
 
</code>
  

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

Contents

Syntax

Delphi:

property PlaybackSpeed : Single read FPlaybackSpeed write SetPlaybackSpeed default 1;

C++ Builder:

__property float PlaybackSpeed = { read=FPlaybackSpeed, write=SetPlaybackSpeed, default=1 };

Summary

Specifies the desired playback speed as coefficient.

Description

Set this property to specify the desired playback speed as coefficient.


Examples:


0.5 = half speed

1 = normal speed

2 = 2 times the normal speed

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox