Microsoft DirectX 8.1 (Visual Basic) |
Microphone setup is supported by the Microsoft® DirectX® Voice Test Wizard. This wizard confirms that your system properly supports full duplex operation and ensures your microphone and playback settings are correct. You need to run the wizard only once for each combination of playback and capture device you select.
You can launch the Voice Test Wizard in two ways:
Calling DirectPlayVoiceTest8.CheckAudioSetup method invokes the Voice Test Wizard, which runs tests and confirms that the system supports full duplex operation properly, and ensures that microphone and playback settings are correct. You need to run the wizard only once for each combination of playback and capture device you select. Each time your application starts, you should test the configuration by calling DirectPlayVoiceTest8.CheckAudioSetup with the lFlags parameter set to DVFLAGS_QUERYONLY. This enables you to test quickly whether the device configuration has changed since your devices were last tested. If your devices have not been tested, you should run DirectPlayVoiceTest8.CheckAudioSetup again to invoke the wizard. If the configuration has changed since the last test and you have not run the wizard again, DirectPlayVoiceClient8.Connect will return DVERR_RUNSETUP and you will not be able to initialize Microsoft® DirectPlay® Voice.
Many older computer systems still in use do not have a full duplex sound card. Without full duplex, a sound card can receive—but not send—voice communications. Because games typically hold the sound card in playback mode, DirectX 8.1 prevents problems by not allowing dynamic switching between playback and capture. The Voice Test Wizard provides users with information about the duplexing abilities of their system.