Class ALASFPlayer.TALASFPlayer
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.
Package: AudioLabPkg
Unit: ALASFPlayer
Inherits: TMLASFBasicPlayer
Contents |
Syntax
Delphi:
type TALASFPlayer = class( TMLASFBasicPlayer )
C++ Builder:
class TALASFPlayer : public TMLASFBasicPlayer
Visual C++ (MFC):
class CTALASFPlayer : public CTMLASFBasicPlayer
C# (.NET):
public ref class TALASFPlayer : Mitov.AudioLab.ASFBasicPlayer
Summary
Plays ASF and WMA Audio Files.
Description
Requires DirectShow 8.1 or higher.
If you don't want to use DirectShow use the TVLAVIPlayer component instead.
This component also requires Windows Media Encoder. Please visit:
[[1]]to obtain a copy of Windows Media Encoder.
This DirectShow component can be used to play ASF and WMA Audio files.
To play an Audio file, place the component on a form, set the FileName with the name of an existing Audio file, set the component Enabled property to True, and connect the OutputPut pin to the InputPin of an TALAudioOut or TALDSAudioOut component.
Diagram:
Properties
Published
Public
- SamplesCount - Returns the total number of audio samples in the file.
- WaveFormat - Returns the wave format of the file.
Pins
- OutputPin - The Audio Output Pin of the player.
From TMLASFBasicPlayer
Properties
Published
Public
Methods
Public
- function GetBufferingState(var APercentDone : Integer; var ATimeRemaining : Int64) : Boolean
- function Open() : Boolean
- procedure Close()
- procedure Pause()
- procedure Resume()
- procedure Start()
- procedure Stop()
- procedure Pump()
- procedure StopBuffering()