Class unavclWaveInDevice
Unit
unaVC_wave
Declaration
type unavclWaveInDevice = class(unavclInOutWavePipe)
Description
Real time PCM audio stream recording from the sound card or other hardware device.
Usage: If components has no provider component with formatProvider set to True, specify PCM stream parameters before activating: pcm_SamplesPerSec, pcm_BitsPerSample and pcm_NumChannels. Set deviceId property if required.
Example: refer to the vcTalkNow demo. It has waveIn_server and waveIn_client components. Both are used to record real-time PCM stream to be sent to remote side. waveIn_server has c_codec_serverOut component as a consumer. That means PCM stream produced by waveIn_server will be passed to c_codec_serverOut component automatically.
Hierarchy
Overview
Methods
Properties
Description
Methods
 |
procedure AfterConstruction(); override; |
|
 |
procedure createNewDevice(); override; |
Creates waveIn (recording) device.
|
Properties
 |
property calcVolume; |
|
 |
property deviceId; |
|
 |
property enableDataProcessing; |
Specifies whether the component would produce any data. Setting this property to False does not release the waveIn device. Set active property to False to release the device as well.
|
 |
property isFormatProvider default true; |
waveIn component is usually a format provider–so this property value was changed to be true by default.
|
 |
property minActiveTime; |
|
 |
property minVolumeLevel; |
|
 |
property onThreshold; |
|
 |
property silenceDetectionMode; |
|
 |
property waveEngine; |
|
(c) 2012 Lake of Soft
Generated by PasDoc 0.12.1 on 2012-10-09