The DirectSound dynamic-link library (DLL) installed with the debug version of the DirectX software development kit generates information in the debug output window as the application is running.
To access DirectSound debugging support, download the DirectX SDK Extras folder and copy the following debug files to your applications working directory:
...\Extras\DirectSound\debug\x86\Dsound.dll
or
...\Extras\DirectSound\debug\x64\Dsound.dll
...\Extras\Symbols\Debug\x86\dll\Dsound.pdb
or
...\Extras\Symbols\Debug\x64\dll\Dsound.pdb
Using the DirectX Properties Control Panel, select the DirectSound tab and set the desired debugging level using the Debug Output Level slider control.
You can set the debug level within the range of 0 to 5. A setting of 0 produces no debugging information, and 5 produces the most detail. For most purposes it is unnecessary to set the level higher than 2; output at higher levels does not pertain to errors or warnings but is purely informational.