ThbTapiCall.WaveIn
Unit: hbTapi
 

This property is used to indicate if the has a wave input (record) device associated to it.

This property has the following sub-properties:

Available
DeviceID
DeviceClass

Declaration

property WaveIn: ThbTapiRelatedWaveDevice;

Description

ThbWaveIn.DeviceID


Available (Boolean)

Availability:

Design-Time: None / Run-Time: Read

This property indicates if the call has an associated wave input device to record wave data. Normally, the call has to be in the connected state to get an assiciated wave device.

Example

procedure TForm1.hbTapiLine1Connected(Sender: ThbTapiLine; Call: ThbTapiCall);
begin
   if Call.WaveIn.Available then
begin
  RecordWave(Call.WaveIn.DeviceID);
end;

DeviceClass (String)

Availability:

Design-Time: None / Run-Time: Read

The value of this property is "wave/in". This is the only valid value at this time. When ThbTapiCall.WaveIn.Available or ThbTapiCall.WaveIn.DeviceID is called, this string is used to check if a device of the given class is assocaited with the call device resp. to get the device ID.

DeviceID (Integer)

Availability:

Design-Time: None / Run-Time: Read

This is the ID of the wave input device which is associated to the call. The value of this property is valid only when the ThbTapiCall.WaveIn.Available property is equal to True. If Available is not equal to True, checking this property can cause an exception.