Property SLPlayer.TSLPlayer.CurrentSample

From Mitov Wiki Doc
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: TSLPlayer

Contents

Syntax

Delphi:

property CurrentSample : Int64 read GetCurrentSample write SetSample;

C++ Builder:

__property __int64 CurrentSample = { read=GetCurrentSample, write=SetSample };

Summary

Current data sample being played.

Description

Use this property to get or set the current data sample being played.


Delphi example:

AValue : Int64;

AValue := SLPlayer1.CurrentSample;

C++ Builder example:

__int64 AValue = SLPlayer1->CurrentSample;

Visual C++(MFC/Win32) example:

__int64 AValue = SLPlayer1.CurrentSample;

Visual C++/CLI example:

Int64 value = player1->CurrentSample;

C# example:

Int64 value = player1.CurrentSample;

VB example:

Dim Value as Int64 = Player1.CurrentSample

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox