ThbWaveIn.Available
Unit: hbTapiWave
 

This property indicates, if the selected waveform-audio input device is available/useable. ThbWaveIn checks if the device selected by ThbWaveIn.DeviceID resp. ThbWaveIn.DeviceName is available.

hbWaveIn1.DeviceName := 'Sound Device #1';
if hbWaveIn1.Available then
begin
  // the selected device is available on this system
  try
    hbWaveIn1.Active := True;
  ...

Availability

Design-Time: None / Run-Time: Read, Write

Declaration

property Available: Boolean;

See Also

ThbWaveIn.DeviceID | DeviceName