Home Units Hierarchy Routines All identifiers

Class unavclWaveInDevice

DescriptionHierarchyFieldsMethodsProperties

Unit

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

Public procedure AfterConstruction(); override;
Protected procedure createNewDevice(); override;

Properties

Published property calcVolume;
Published property deviceId;
Published property enableDataProcessing;
Published property isFormatProvider default true;
Published property minActiveTime;
Published property minVolumeLevel;
Published property onThreshold;
Published property silenceDetectionMode;
Published property waveEngine;
Public property waveInDevice: unaWaveInDevice read getWaveInDevice;

Description

Methods

Public procedure AfterConstruction(); override;
 
Protected procedure createNewDevice(); override;

Creates waveIn (recording) device.

Properties

Published property calcVolume;
 
Published property deviceId;
 
Published 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.

Published property isFormatProvider default true;

waveIn component is usually a format provider–so this property value was changed to be true by default.

Published property minActiveTime;
 
Published property minVolumeLevel;
 
Published property onThreshold;
 
Published property silenceDetectionMode;
 
Published property waveEngine;
 
Public property waveInDevice: unaWaveInDevice read getWaveInDevice;

Returns waveIn device.

(c) 2012 Lake of Soft


Generated by PasDoc 0.12.1 on 2012-10-09