ThbTapiLine.WaveIn
Unit: hbTapi
 

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

This property has the following sub-properties:

Available
DeviceID
DeviceClass

Declaration

property WaveIn: ThbTapiRelatedWaveDevice;

See Also

ThbTapiCall.WaveIn, ThbTapiCall.WaveOut


ThbTapiLine.WaveIn.Available

Type: Boolean
When: Run-Time
Access: Read

This property indicates if the TAPI line device identified in the property DeviceID has an associated wave input device. The device has to be active (ThbTapiLine.Active) before this property is checked.

Example

if hbTapiLine1.WaveIn.Available then
begin
  WaveInID := hbTapiLine1.WaveIn.DeviceID;
end;

ThbTapiLine.WaveIn.DeviceClass

Type: String
When: Run-Time
Access: Read

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

ThbTapiLine.WaveIn.DeviceID

Type: DWORD
When: Run-Time
Access: Read

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

Example

try
  WaveInID := hbTapiLine1.WaveIn.DeviceID;
except
  on E:EhbTapiError do
  // handle the error
end;