Property ALCommonPlayer.TALCommonPlayer.CurrentSample

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

Contents

Syntax

Delphi:

property CurrentSample : Int64 read GetCurrentSample write SetCurrentSample;

C++ Builder:

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

Summary

Current audio sample being played.

Description

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


Delphi example:

AValue : Int64;

AValue := ALWavePlayer1.CurrentSample;

C++ Builder example:

__int64 AValue = ALWavePlayer1->CurrentSample;

Visual C++(MFC/Win32) example:

__int64 AValue = ALWavePlayer1.CurrentSample;

Visual C++/CLI example:

Int64 value = wavePlayer1->CurrentSample;

C# example:

Int64 value = wavePlayer1.CurrentSample;

VB example:

Dim Value as Int64 = WaveLogger1.CurrentSample

Note Not all of the DirectShow players support changing the current sample.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox