BUG: DXDiag.exe Utility Reports Sound Tests Completed Successfully But No Sounds Were Played (326242)



The information in this article applies to:

  • Microsoft DirectX Software Development Kit 8.0
  • Microsoft DirectX Software Development Kit 8.0a

This article was previously published under Q326242

SYMPTOMS

In certain scenerios, the sound tests from the DXDiag.exe utility that is included with the DirectX SDK do not run correctly. After you instruct the utility to run the sound test, a message is displayed that indicates that all tests were successful. However, no sounds were played through the speakers, which indicates that the test did not run.

CAUSE

DXDiag.exe incorrectly uses the capabilities that are reported by the hardware accelerated audio pin to determine what sound tests to run. If the hardware accelerated pin does not report that it natively supports the format of the test file that DXDiag.exe is going to play, DXDiag.exe does not play the test file and does report that the tests completed successfully.

RESOLUTION

This problem is scheduled to be fixed in the next release of the DirectX SDK. In the next release, DXDiag.exe will do the following:
  • Will not be limited to playing only those files that are natively supported by the hardware accelerated pin.
  • Will take into account the additional capabilities that are provided by the KMixer audio component.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

This problem occurs as follows:
  • If a hardware accelerated pin supports only the 48 kilohertz (k) audio sample rate, the DXDiag.exe progrm does not play back its test file because the test file was recorded at a 22k sample rate.
  • Because KMixer will correctly resample the 22k test file to 48k before sending to the hardware accelerated pin, DXDiag.exe could have successfully played the file had it chosen to do so.
  • Because DXDiag.exe is limiting itself to playing back only those test files that meet the requirements of the hardeware accelerated pin, and because it ignores the additional capabilities that are provided by KMixer, DXDiag.exe incorrectly concludes that it cannot play the file.

Modification Type:MinorLast Reviewed:7/21/2004
Keywords:kbbug kbpending KB326242