Class ALDSAudioPlayer.TALDSAudioPlayer

From Mitov Wiki Doc
(Difference between revisions)
Jump to: navigation, search
(Automated Syncronization with Documentation)
 
(Automated Syncronization with Documentation)
 
(6 intermediate revisions by one user not shown)
Line 28: Line 28:
 
=== C# (.NET): ===
 
=== C# (.NET): ===
 
<code>
 
<code>
'''public ref class''' TALDSAudioPlayer : [[Class MLDSPlayer.TMLDSPlayer|Mitov.AudioLab.DSPlayer]]
+
'''public ref class''' DSAudioPlayer : [[Class MLDSPlayer.TMLDSPlayer|Mitov.AudioLab.DSPlayer]]
 
</code>
 
</code>
 
== Summary ==
 
== Summary ==
Line 34: Line 34:
  
 
== Description ==
 
== Description ==
<b><span style="color:red">Requires DirectShow 8.1 or higher.</span></b>
+
<span style="color:red"><b>Requires DirectShow 8.1 or higher.</b></span>
  
<b><span style="color:red">If you don't want to use DirectShow use the
+
<span style="color:red"><b>If you don't want to use DirectShow use the
[[Class ALWavePlayer.TALWavePlayer|TALWavePlayer]] component instead.</span></b>
+
[[Class ALWavePlayer.TALWavePlayer|TALWavePlayer]] component instead.</b></span>
  
 
This DirectShow compionent can be used to play Audio files.
 
This DirectShow compionent can be used to play Audio files.
  
 
To play an Audio file, place the component on a form, set the
 
To play an Audio file, place the component on a form, set the
FileName with the name of an existing Audio file, set the
+
[[Property ALDSAudioPlayer.TALDSAudioPlayer.FileName|FileName]] with the name of an existing Audio file, set the
 
component Enabled property to True, and connect the OutputPut
 
component Enabled property to True, and connect the OutputPut
 
pin to the InputPin of an [[Class ALAudioOut.TALAudioOut|TALAudioOut]].
 
pin to the InputPin of an [[Class ALAudioOut.TALAudioOut|TALAudioOut]].
 +
 +
 +
 +
<b>Diagram:</b>
 +
 +
[[Image:ALDSAudioPlayer_Preview.png]]
  
 
== Properties ==
 
== Properties ==
 +
 +
=== Published ===
 +
*[[Property ALDSAudioPlayer.TALDSAudioPlayer.FileName|FileName]]
  
 
=== Public ===
 
=== Public ===
Line 64: Line 73:
 
== Pins ==
 
== Pins ==
 
*[[Pin ALDSAudioPlayer.TALDSAudioPlayer.OutputPin|OutputPin]] - The Audio Output Pin of the player.  
 
*[[Pin ALDSAudioPlayer.TALDSAudioPlayer.OutputPin|OutputPin]] - The Audio Output Pin of the player.  
*[[Pin ALDSAudioPlayer.TALDSAudioPlayer.RawOutputPin|RawOutputPin]] - The Raw uncompressed Audio Output Pin of the player.
 
 
== Events ==
 
*[[Event ALDSAudioPlayer.TALDSAudioPlayer.OnCaptionText|OnCaptionText]] - Occurs when a new text appears in the text stream.
 
  
 
== From [[Class MLDSPlayer.TMLDSPlayer|TMLDSPlayer]] ==
 
== From [[Class MLDSPlayer.TMLDSPlayer|TMLDSPlayer]] ==
Line 87: Line 92:
  
 
=== Public ===
 
=== Public ===
*[[Property MLDSPlayer.TMLDSPlayer.WaveFormat|WaveFormat]]
 
 
*[[Property MLDSPlayer.TMLDSPlayer.Opened|Opened]]
 
*[[Property MLDSPlayer.TMLDSPlayer.Opened|Opened]]
 +
*[[Property MLDSPlayer.TMLDSPlayer.WaveFormat|WaveFormat]]
  
 
== Methods ==
 
== Methods ==
Line 102: Line 107:
  
 
== Pins ==
 
== Pins ==
*[[Pin MLDSPlayer.TMLDSPlayer.EnablePin|EnablePin]]
 
*[[Pin MLDSPlayer.TMLDSPlayer.FileNamePin|FileNamePin]]
 
 
*[[Pin MLDSPlayer.TMLDSPlayer.ProgressPin|ProgressPin]]
 
*[[Pin MLDSPlayer.TMLDSPlayer.ProgressPin|ProgressPin]]
*[[Pin MLDSPlayer.TMLDSPlayer.PausePin|PausePin]]
 
 
*[[Pin MLDSPlayer.TMLDSPlayer.ClockPin|ClockPin]]
 
*[[Pin MLDSPlayer.TMLDSPlayer.ClockPin|ClockPin]]
 
*[[Pin MLDSPlayer.TMLDSPlayer.TextOutputPin|TextOutputPin]]
 
*[[Pin MLDSPlayer.TMLDSPlayer.TextOutputPin|TextOutputPin]]
 +
*[[Pin MLDSPlayer.TMLDSPlayer.RawAudioOutputPin|RawAudioOutputPin]]
  
 
== Events ==
 
== Events ==
 
*[[Event MLDSPlayer.TMLDSPlayer.OnProgress|OnProgress]]
 
*[[Event MLDSPlayer.TMLDSPlayer.OnProgress|OnProgress]]
 
*[[Event MLDSPlayer.TMLDSPlayer.OnStop|OnStop]]
 
*[[Event MLDSPlayer.TMLDSPlayer.OnStop|OnStop]]
 +
*[[Event MLDSPlayer.TMLDSPlayer.OnCaptionText|OnCaptionText]]
  
 
[[Category:Components]][[Category:Classes]]
 
[[Category:Components]][[Category:Classes]]

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.

BIGALDSAudioPlayer.gif ALDSAudioPlayer.gif NETALDSAudioPlayer.gif

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 DSAudioPlayer : 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:

ALDSAudioPlayer Preview.png

Properties

Published

Public

Methods

Public

Pins

From TMLDSPlayer

Properties

Published

Public

Methods

Public

Pins

Events

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox