Property ALDSAudioPlayer.TALDSAudioPlayer.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: TALDSAudioPlayer

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 := ALDSAudioPlayer1.CurrentSample;

C++ Builder example:

__int64 AValue = ALDSAudioPlayer1->CurrentSample;

Visual C++(MFC/Win32) example:

__int64 AValue = ALDSAudioPlayer1.CurrentSample;

C# example:

Int64 value = dsAudioPlayer1.CurrentSample;

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

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox