Microsoft DirectX 8.1 (Visual Basic) |
Controls the run-time parameters for the client. This type is first used in the call to DirectPlayVoiceClient8.Connect, where it sets the initial state of these parameters. The type can be retrieved after a connection has been made by calling DirectPlayVoiceClient8.GetClientConfig, and set using DirectPlayVoiceClient8.SetClientConfig.
Type DVCLIENTCONFIG lBufferAggressiveness As CONST_DVBUFFERAGGRESSIVENESS lBufferQuality As CONST_DVBUFFERQUALITY lFlags As CONST_DVCLIENTCONFIGENUM lNotifyPeriod As Long lPlaybackVolume As Long lRecordVolume As Long lThreshold As CONST_DVTHRESHOLD End Type
If automatic gain control is enabled, this value can be set to DVRECORDVOLUME_LAST, which tells the system to use the current volume as determined by the automatic gain control algorithm. If a value other then DVRECORDVOLUME_LAST is specified in combination with automatic gain control, this value will be used to restart the algorithm at the specified value.
On return from a call to DirectPlayVoiceClient8.GetClientConfig, this value will contain the current recording volume. When adjusting the recording volume, Microsoft® DirectPlay® Voice will adjust the volume for the microphone (if a microphone volume is present for the card) and the master recording volume (if one is present on the card). If neither a microphone volume nor a master record volume is present, DirectPlay Voice will be unable to adjust the recording volume.
If DVCLIENTCONFIG_MANUALVOICEACTIVATED or DVCLIENTCONFIG_AUTOVOICEACTIVATED is not specified in the lFlags member of this type (indicating push-to-talk mode) this value must be set to DVTHRESHOLD_UNUSED.