ThbWaveOut.Available
Unit: hbTapiWave
 

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

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

Availability

Design-Time: None / Run-Time: Read

Declaration

property Available: Boolean;

See Also

ThbWaveOut.DeviceID | DeviceName