Class ALAudioOut.TALAudioOut
(Automated Syncronization with Documentation) |
(Automated Syncronization with Documentation) |
||
Line 45: | Line 45: | ||
audio data, as example [[Class ALSignalGen.TALSignalGen|TALSignalGen]], [[Class ALWavePlayer.TALWavePlayer|TALWavePlayer]], or | audio data, as example [[Class ALSignalGen.TALSignalGen|TALSignalGen]], [[Class ALWavePlayer.TALWavePlayer|TALWavePlayer]], or | ||
[[Class ALAudioIn.TALAudioIn|TALAudioIn]]. | [[Class ALAudioIn.TALAudioIn|TALAudioIn]]. | ||
+ | |||
+ | |||
+ | |||
+ | <b>Diagram:</b> | ||
+ | |||
+ | [[Image:ALAudioOut_Preview.png]] | ||
== Properties == | == Properties == | ||
Line 56: | Line 62: | ||
=== Public === | === Public === | ||
*[[Method procedure ALAudioOut.TALAudioOut.Flush()|procedure Flush()]] - Clears the queue of buffers waiting to be played. | *[[Method procedure ALAudioOut.TALAudioOut.Flush()|procedure Flush()]] - Clears the queue of buffers waiting to be played. | ||
+ | *[[Method procedure ALAudioOut.TALAudioOut.Close()|procedure Close()]] - Closes the audio output device. | ||
+ | *[[Method function ALAudioOut.TALAudioOut.Open() : Boolean|function Open() : Boolean]] - Opens the audio output device. | ||
== Events == | == Events == | ||
*[[Event ALAudioOut.TALAudioOut.OnError|OnError]] - Occurs on audio out device error. | *[[Event ALAudioOut.TALAudioOut.OnError|OnError]] - Occurs on audio out device error. | ||
*[[Event ALAudioOut.TALAudioOut.OnWarning|OnWarning]] - Occurs on audio out device warning. | *[[Event ALAudioOut.TALAudioOut.OnWarning|OnWarning]] - Occurs on audio out device warning. | ||
+ | *[[Event ALAudioOut.TALAudioOut.OnQueueEmpty|OnQueueEmpty]] - Fired when there is no more data to be played. | ||
== From [[Class ALBasicAudioOut.TALBasicAudioOut|TALBasicAudioOut]] == | == From [[Class ALBasicAudioOut.TALBasicAudioOut|TALBasicAudioOut]] == | ||
Line 71: | Line 80: | ||
== Pins == | == Pins == | ||
*[[Pin ALBasicAudioOut.TALBasicAudioOut.InputPin|InputPin]] - The input pin of the component. | *[[Pin ALBasicAudioOut.TALBasicAudioOut.InputPin|InputPin]] - The input pin of the component. | ||
− | |||
*[[Pin ALBasicAudioOut.TALBasicAudioOut.ClockOutputPin|ClockOutputPin]] - The clock output pin of the component. | *[[Pin ALBasicAudioOut.TALBasicAudioOut.ClockOutputPin|ClockOutputPin]] - The clock output pin of the component. | ||
[[Category:Components]][[Category:Classes]] | [[Category:Components]][[Category:Classes]] |
Revision as of 20:28, 10 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: ALAudioOut
Inherits: TALBasicAudioOut
Contents |
Syntax
Delphi:
type TALAudioOut = class( TALBasicAudioOut )
C++ Builder:
class TALAudioOut : public TALBasicAudioOut
Visual C++ (MFC):
class CTALAudioOut : public CTALBasicAudioOut
C# (.NET):
public ref class TALAudioOut : Mitov.AudioLab.BasicAudioOut
Summary
Sends audio data to an audio output device.
Description
Use this component to output audio data via output device such as Speakers, Line Out, or Modem.
To output data via device, place the component on a form, select the driver of the device to use for output, set the Enabled property of the component to True, and connect the InputPin to an OutputPin of a component capable of producing audio data, as example TALSignalGen, TALWavePlayer, or TALAudioIn.
Diagram:
Properties
Published
- PrefillInterval - Prefill interval in milliseconds.
- Device - Specifies the audio output device(s) to be used.
Methods
Public
- procedure Flush() - Clears the queue of buffers waiting to be played.
- procedure Close() - Closes the audio output device.
- function Open() : Boolean - Opens the audio output device.
Events
- OnError - Occurs on audio out device error.
- OnWarning - Occurs on audio out device warning.
- OnQueueEmpty - Fired when there is no more data to be played.
From TALBasicAudioOut
Properties
Published
- Enabled - Enables/Disables the audio out.
- MasterPumping - Specifies the masterpumping settings.
Pins
- InputPin - The input pin of the component.
- ClockOutputPin - The clock output pin of the component.