Microsoft DirectX 8.1 (Visual Basic) |
Microsoft® DirectPlay® Voice offers functionality to adjust the hardware input volume on the sound card automatically and provide the best recording input level possible. To enable Automatic Gain Control, set the DVCLIENTCONFIG_AUTORECORDVOLUME flag in the lFlags member of the DVCLIENTCONFIG structure when you set the client configuration. Automatic Gain Control can be activated or deactivated at any time during the voice session.
Most game applications should use automatic gain control because it requires a negligible amount of game resources and prevents the need for an in-game volume recording control. Users are not required to set the level themselves, yet they experience the highest quality of voice transmission and reception possible.