Class MLDSPlayer.TMLDSPlayer
From Mitov Wiki Doc
(Difference between revisions)
(Automated Syncronization with Documentation) |
(Automated Syncronization with Documentation) |
||
(One intermediate revision by one user not shown) | |||
Line 26: | Line 26: | ||
=== C# (.NET): === | === C# (.NET): === | ||
<code> | <code> | ||
− | '''public ref class''' | + | '''public ref class''' DSPlayer : [[Class LPComponent.TLPComponent|Mitov.AudioLab.Component]] |
</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: AudioLabBasicPkg
Unit: MLDSPlayer
Inherits: TLPComponent
Contents |
Syntax
Delphi:
type TMLDSPlayer = class( TLPComponent )
C++ Builder:
class TMLDSPlayer : public TLPComponent
Visual C++ (MFC):
class CTMLDSPlayer : public CTLPComponent
C# (.NET):
public ref class DSPlayer : Mitov.AudioLab.Component
Summary
Base class for DirectShow audio and video players.
Description
Defines base class for DirectShow audio and video players.
Do not use this class directly. Use the derived classes instead.
Properties
Published
- Graph - The DirectShow Graph.
- Enabled - Enables/Disables the filter.
- Paused - Pauses or resumes the playback.
- ClockSource - Specifies the clock source - internal or external.
- PumpPriority - Specifies the priority of the component as a pump.
- Loop - Replayed again after the end.
- FileName - Name of the file to be Played.
- RestartOnNewFile - Send Stop/Start notification when switching files.
- PlaybackRate - Specifies the desired playback rate.
- PlaybackPrefill - Specifies the desired playback prefill.
- ExtractRawAudio - Specifies if the player should try to extract raw/uncompressed audio.
Public
- Opened - Indicates if the file is opened.
- WaveFormat - Returns the current audio format.
Methods
Public
- function Open() : Boolean - Opens the file and creates the DirectShow graph needed for the player.
- procedure Close() - Closes the file and destroys the DirectShow graph for the player.
- procedure Start() - Starts the playback.
- procedure Stop() - Stops the playback.
- procedure Pause() - Pauses the playback.
- procedure Resume() - Resumes paused playback.
- procedure Pump() - Plays one buffer if enabled and ClockSource is csExternal.
Pins
- ProgressPin - The Play Progress Pin of the player.
- ClockPin - The external clock pin for the player.
- TextOutputPin - The Text Output Pin of the player.
- RawAudioOutputPin - The Raw uncompressed Audio Output Pin of the player.
Events
- OnProgress - Player progress notification event.
- OnStop - Occurs when the playback stops.
- OnCaptionText - Occurs when a new text appears in the text stream.