|
Set this property to indicate which waveform-audio output device should be used. All available devices are listed in the ThbWaveOut.DeviceList property. Legal values for this property are 0 to ThbWaveOut.DeviceList.Count -1. The ThbWaveOut.DeviceName property is set to the corresponding name.
AvailabilityDesign-Time: None / Run-Time: Read, Write
Declarationproperty DeviceID: DWord; RemarksIf the device is active prior to setting the DeviceID, then you must deactivate the component (WaveOut.Active := False) otherwise an exception will be raised. Your application should not save the DeviceID to restore an users configuration because it could change in due to installing/removing sound devices. The better choice is to store the DeviceName. See AlsoThbWaveOut.DeviceName | DeviceList | Available |