Class ALASFPlayer.TALASFPlayer
(Automated Syncronization with Documentation) |
(Automated Syncronization with Documentation) |
||
(One intermediate revision by one user not shown) | |||
Line 28: | Line 28: | ||
=== C# (.NET): === | === C# (.NET): === | ||
<code> | <code> | ||
− | '''public ref class''' | + | '''public ref class''' ASFPlayer : [[Class MLASFPlayer.TMLASFBasicPlayer|Mitov.AudioLab.ASFBasicPlayer]] |
</code> | </code> | ||
== Summary == | == Summary == |
Latest revision as of 00:30, 26 June 2013
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 ASFPlayer : 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()