Class ALWavePlayer.TALWavePlayer

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''' TALWavePlayer : [[Class ALCommonPlayer.TALCommonPlayer|Mitov.AudioLab.CommonPlayer]]
+
'''public ref class''' WavePlayer : [[Class ALCommonPlayer.TALCommonPlayer|Mitov.AudioLab.CommonPlayer]]
 
</code>
 
</code>
 
== Summary ==
 
== Summary ==
Line 37: Line 37:
  
 
To play an WAVE file, place the component on a form, set the
 
To play an WAVE file, place the component on a form, set the
FileName with the name of an existing AVI file, set the
+
[[Property ALWavePlayer.TALWavePlayer.FileName|FileName]] with the name of an existing AVI 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:ALWavePlayer_Preview.png]]
 +
 +
== Properties ==
 +
 +
=== Published ===
 +
*[[Property ALWavePlayer.TALWavePlayer.FileName|FileName]]
  
 
== Events ==
 
== Events ==
Line 71: Line 82:
  
 
=== Public ===
 
=== Public ===
*[[Method procedure ALCommonPlayer.TALCommonPlayer.Pump()|procedure Pump()]] - Plays one buffer if enabled and [[Property ALCommonPlayer.TALCommonPlayer.ClockSource|ClockSource]] is [[Enum item LPComponent.TSLClockSource.csExternal|csExternal]].  
+
*[[Method procedure ALCommonPlayer.TALCommonPlayer.Pump()|procedure Pump()]] - Plays one buffer if enabled and [[Property ALCommonPlayer.TALCommonPlayer.ClockSource|ClockSource]] is [[Enum item SLTypes.TSLClockSource.csExternal|csExternal]].  
 
*[[Method procedure ALCommonPlayer.TALCommonPlayer.Start()|procedure Start()]] - Starts the playback.  
 
*[[Method procedure ALCommonPlayer.TALCommonPlayer.Start()|procedure Start()]] - Starts the playback.  
 
*[[Method procedure ALCommonPlayer.TALCommonPlayer.Stop()|procedure Stop()]] - Stops the playback.  
 
*[[Method procedure ALCommonPlayer.TALCommonPlayer.Stop()|procedure Stop()]] - Stops the playback.  
Line 81: Line 92:
 
== Pins ==
 
== Pins ==
 
*[[Pin ALCommonPlayer.TALCommonPlayer.OutputPin|OutputPin]] - The Audio Output Pin of the player.  
 
*[[Pin ALCommonPlayer.TALCommonPlayer.OutputPin|OutputPin]] - The Audio Output Pin of the player.  
*[[Pin ALCommonPlayer.TALCommonPlayer.FileNamePin|FileNamePin]] - The File Name Pin of the Player.
 
 
*[[Pin ALCommonPlayer.TALCommonPlayer.ProgressPin|ProgressPin]] - The Play Progress Pin of the player.  
 
*[[Pin ALCommonPlayer.TALCommonPlayer.ProgressPin|ProgressPin]] - The Play Progress Pin of the player.  
*[[Pin ALCommonPlayer.TALCommonPlayer.EnablePin|EnablePin]] - The enable pin of the component.
 
*[[Pin ALCommonPlayer.TALCommonPlayer.PausePin|PausePin]] - The [[Method procedure ALCommonPlayer.TALCommonPlayer.Pause()|Pause]] Pin of the Player.
 
 
*[[Pin ALCommonPlayer.TALCommonPlayer.ClockPin|ClockPin]] - The external clock pin for the player.  
 
*[[Pin ALCommonPlayer.TALCommonPlayer.ClockPin|ClockPin]] - The external clock pin for the player.  
  

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.

BIGALWavePlayer.gif ALWavePlayer.gif NETALWavePlayer.gif

Package: AudioLabEssentialPkg

Unit: ALWavePlayer

Inherits: TALCommonPlayer

Contents

Syntax

Delphi:

type TALWavePlayer = class( TALCommonPlayer )

C++ Builder:

class TALWavePlayer : public TALCommonPlayer

Visual C++ (MFC):

class CTALWavePlayer : public CTALCommonPlayer

C# (.NET):

public ref class WavePlayer : Mitov.AudioLab.CommonPlayer

Summary

Plays audio from Wave file.

Description

This component can be used to play WAVE files.

To play an WAVE file, place the component on a form, set the FileName with the name of an existing AVI file, set the component Enabled property to True, and connect the OutputPut pin to the InputPin of an TALAudioOut.


Diagram:

ALWavePlayer Preview.png

Properties

Published

Events

From TALCommonPlayer

Properties

Published

Public

Methods

Public

Pins

Events

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox