Property ALCommonPlayer.TALCommonPlayer.PlaySegment
From Mitov Wiki Doc
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 PlaySegment : TALAudioPlayerSegment read FPlaySegment write SetPlaySegment;
C++ Builder:
__property TALAudioPlayerSegment * PlaySegment = { read=FPlaySegment, write=SetPlaySegment };
Summary
A segment of the file to be played.
Description
Use this property to specify the segment of the Audio file to
be played. Use this property to specify only a part of the
Audio to be played.
Delphi example:
ALWavePlayer1.PlaySegment.StartSample := 2000; ALWavePlayer1.PlaySegment.StopSample := 4000; ALWavePlayer1.PlaySegment.Enabled := True;
C++ Builder example:
ALWavePlayer1->PlaySegment->StartSample = 2000; ALWavePlayer1->PlaySegment->StopSample = 4000; ALWavePlayer1->PlaySegment->Enabled = true;
Visual C++(MFC/Win32) example:
ALWavePlayer1.PlaySegment.StartSample = 2000; ALWavePlayer1.PlaySegment.StopSample = 4000; ALWavePlayer1.PlaySegment.Enabled = true;
Visual C++/CLI example:
wavePlayer1->PlaySegment->StartSample = 2000; wavePlayer1->PlaySegment->StopSample = 4000; wavePlayer1->PlaySegment->Enabled = true;
C# example:
wavePlayer1.PlaySegment.StartSample = 2000; wavePlayer1.PlaySegment.StopSample = 4000; wavePlayer1.PlaySegment.Enabled = true;
VB example:
WavePlayer1.PlaySegment.StartSample = 2000 WavePlayer1.PlaySegment.StopSample = 4000 WavePlayer1.PlaySegment.Enabled = True