Class ALDSAudioIn.TALDSAudioIn
(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''' | + | '''public ref class''' DSAudioIn : [[Class LPComponent.TLPComponent|Mitov.AudioLab.Component]] |
</code> | </code> | ||
== Summary == | == Summary == | ||
Line 34: | Line 34: | ||
== Description == | == Description == | ||
− | + | <span style="color:red"><b>Requires DirectShow 8.1 or higher.</b></span> | |
− | + | <span style="color:red"><b>If you don't want to use DirectShow use the | |
− | [[Class ALAudioIn.TALAudioIn|TALAudioIn]] component instead.</ | + | [[Class ALAudioIn.TALAudioIn|TALAudioIn]] component instead.</b></span> |
DirectShow based audio capture component. | DirectShow based audio capture component. | ||
Line 52: | Line 52: | ||
receiving video data, as example a [[Class ALWaveLogger.TALWaveLogger|TALWaveLogger]], [[Class ALAudioOut.TALAudioOut|TALAudioOut]] | receiving video data, as example a [[Class ALWaveLogger.TALWaveLogger|TALWaveLogger]], [[Class ALAudioOut.TALAudioOut|TALAudioOut]] | ||
or [[Class ALDSAudioOut.TALDSAudioOut|TALDSAudioOut]]. | or [[Class ALDSAudioOut.TALDSAudioOut|TALDSAudioOut]]. | ||
+ | |||
+ | |||
+ | |||
+ | <b>Diagram:</b> | ||
+ | |||
+ | [[Image:ALDSAudioIn_Preview.png]] | ||
== Properties == | == Properties == | ||
Line 64: | Line 70: | ||
=== Public === | === Public === | ||
*[[Property ALDSAudioIn.TALDSAudioIn.RunningAudioFormat|RunningAudioFormat]] - Returns information about the running audio format during the capture. | *[[Property ALDSAudioIn.TALDSAudioIn.RunningAudioFormat|RunningAudioFormat]] - Returns information about the running audio format during the capture. | ||
− | |||
*[[Property ALDSAudioIn.TALDSAudioIn.AudioModes|AudioModes]] - List of available audio modes. | *[[Property ALDSAudioIn.TALDSAudioIn.AudioModes|AudioModes]] - List of available audio modes. | ||
*[[Property ALDSAudioIn.TALDSAudioIn.CrossbarDialogs|CrossbarDialogs]] - List of Crossbar dialogs. | *[[Property ALDSAudioIn.TALDSAudioIn.CrossbarDialogs|CrossbarDialogs]] - List of Crossbar dialogs. | ||
+ | *[[Property ALDSAudioIn.TALDSAudioIn.Opened|Opened]] - Returns True if the device is opened. | ||
*[[Property ALDSAudioIn.TALDSAudioIn.AvailableAudioDialogs|AvailableAudioDialogs]] - Set of available audio dialogs. | *[[Property ALDSAudioIn.TALDSAudioIn.AvailableAudioDialogs|AvailableAudioDialogs]] - Set of available audio dialogs. | ||
Line 72: | Line 78: | ||
=== Public === | === Public === | ||
− | *[[Method | + | *[[Method function ALDSAudioIn.TALDSAudioIn.Open() : Boolean|function Open() : Boolean]] - Opens the device. |
*[[Method procedure ALDSAudioIn.TALDSAudioIn.Close()|procedure Close()]] - Closes the device. | *[[Method procedure ALDSAudioIn.TALDSAudioIn.Close()|procedure Close()]] - Closes the device. | ||
*[[Method procedure ALDSAudioIn.TALDSAudioIn.Start()|procedure Start()]] - Starts the capture. | *[[Method procedure ALDSAudioIn.TALDSAudioIn.Start()|procedure Start()]] - Starts the capture. | ||
Line 80: | Line 86: | ||
== Pins == | == Pins == | ||
*[[Pin ALDSAudioIn.TALDSAudioIn.OutputPin|OutputPin]] - The Audio Output Pin of the player. | *[[Pin ALDSAudioIn.TALDSAudioIn.OutputPin|OutputPin]] - The Audio Output Pin of the player. | ||
− | |||
[[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.
Package: AudioLabEssentialPkg
Unit: ALDSAudioIn
Inherits: TLPComponent
Contents |
Syntax
Delphi:
type TALDSAudioIn = class( TLPComponent )
C++ Builder:
class TALDSAudioIn : public TLPComponent
Visual C++ (MFC):
class CTALDSAudioIn : public CTLPComponent
C# (.NET):
public ref class DSAudioIn : Mitov.AudioLab.Component
Summary
Captures audio from an audio input device using DirectShow.
Description
Requires DirectShow 8.1 or higher.
If you don't want to use DirectShow use the TALAudioIn component instead.
DirectShow based audio capture component.
Use this component to capture audio data from an input device such as Microphone, Modem or TV/Radio Tuner.
To capture data from a device, place the component on a form, select the driver of the device to use for capturing, set the Enabled property of the component to True, and connect the output pin to an InputPin of a component capable of receiving video data, as example a TALWaveLogger, TALAudioOut or TALDSAudioOut.
Diagram:
Properties
Published
- Enabled - Enables/Disables the capture.
- AudioFormat - Desired audio capture format.
- AudioCaptureDevice - Desired audio input device(s).
- AudioSources - List of audio capture sources.
- Graph - The DirectShow Graph.
Public
- RunningAudioFormat - Returns information about the running audio format during the capture.
- AudioModes - List of available audio modes.
- CrossbarDialogs - List of Crossbar dialogs.
- Opened - Returns True if the device is opened.
- AvailableAudioDialogs - Set of available audio dialogs.
Methods
Public
- function Open() : Boolean - Opens the device.
- procedure Close() - Closes the device.
- procedure Start() - Starts the capture.
- procedure Stop() - Stops the capture.
- function ShowAudioDialog(DialogType : TALDSCaptureDialog) : Boolean - Shows a specified DirectShow audio dialog.
Pins
- OutputPin - The Audio Output Pin of the player.