Class ALDSAudioPlayer.TALDSAudioPlayer
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: AudioLabEssentialPkg
Unit: ALDSAudioPlayer
Inherits: TMLDSPlayer
Contents |
Syntax
Delphi:
type TALDSAudioPlayer = class( TMLDSPlayer )
C++ Builder:
class TALDSAudioPlayer : public TMLDSPlayer
Visual C++ (MFC):
class CTALDSAudioPlayer : public CTMLDSPlayer
C# (.NET):
public ref class TALDSAudioPlayer : Mitov.AudioLab.DSPlayer
Summary
Plays audio from Audio file using DirectShow.
Description
Requires DirectShow 8.1 or higher.
If you don't want to use DirectShow use the TALWavePlayer component instead.
This DirectShow compionent can be used to play 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.
Diagram:
Properties
Published
Public
- DurationTime - The total time of the opened file.
- CurrentTime - Current time being played.
- SamplesCount - Returns the total number of audio samples in the file.
- CurrentSample - Current audio sample being played.
- AudioFilterName - Returns the audio codec filter name.
- AudioCodecName - Returns the audio codec name.
- AudioCodec - Returns the Audio codec FourCC code.
Methods
Public
- function Open() : Boolean - Opens the selected audio file.
Pins
- OutputPin - The Audio Output Pin of the player.
From TMLDSPlayer
Properties
Published
- Graph
- Enabled
- Paused
- ClockSource
- PumpPriority
- Loop
- FileName
- RestartOnNewFile
- PlaybackRate
- PlaybackPrefill
- ExtractRawAudio
Public
Methods
Public
- function Open() : Boolean
- procedure Close()
- procedure Start()
- procedure Stop()
- procedure Pause()
- procedure Resume()
- procedure Pump()