etPlay.Volume Properties


Volume.Default
Volume.Enabled
Volume.Position
Volume.Reset
 


etPlay.Volume.Default

ActiveX: etPlay.VolumeDefault
Type:
Boolean
When:
Design-Time and Run-Time
Read/Write:
Read and Write
Edition:
Standard, Professional, Enterprise
If this property's value is True when etPlay begins to play the wave file, then the audio device is queried for its current volume setting, and the etPlay.Volume.Position property is updated. If playing has been paused then the is operation will occur once again when the etPlay.Device.Pause property is set to False.

If this property is False then etPlay will not queiry the audio device for the current setting.

etPlay.Volume.Enabled

ActiveX: etPlay.VolumeEnabled
Type:
Boolean
When:
Design-Time and Run-Time
Read/Write:
Read and Write
Edition:
Standard, Professional, Enterprise
<Click here for example>

If this property is set to true, the etPlay.Volume properties are available for use.

Not all audio devices have the ability to adjust the volume. When using devices that do not offer volume adjustment features, this property should be set to False. Voice modems that use the UnimodemV Telephony Service Provider (TSP) fall into this catagory, so this property should be set to false.

Some multiple-line telephony devices have a configuration setting for the volume. This setting controls the volume for all audio channels on the card, so this property should be set to False.

etPlay.Volume.Position

ActiveX: etPlay.VolumePosition
Type:
Integer
When:
Design-Time and Run-Time
Read/Write:
Read and Write
Edition:
Standard, Professional, Enterprise
This is the current position of the volume. Legal values are between 0 and 100.

etPlay.Volume.Reset

ActiveX: etPlay.VolumeReset
Type:
Boolean
When:
Design-Time and Run-Time
Read/Write:
Read and Write
Edition:
Standard, Professional, Enterprise

This property indicates whether the device's volume position will be reset after etPlay is finished playing the wave file. When this property is set to True, etPlay stores the value of the of the volume and set it back when it is finshed playing or when playing is paused by setting etPlay.Device.Pause.

This property should not be modified when etPlay.Device.Active is set to True.



etPlay Properties - Timer