Property SLPlayer.TSLPlayer.CurrentSample

From Mitov Wiki Doc
Revision as of 00:24, 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: 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