仅XAudio2.7崩溃,XAUDIO2_DEBUG_ENGINE无法正常工作 [英] XAudio2.7-only crashes, XAUDIO2_DEBUG_ENGINE not working

查看:232
本文介绍了仅XAudio2.7崩溃,XAUDIO2_DEBUG_ENGINE无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发了一个音频引擎,在Windows 8上成功使用xaudio2.8而没有任何问题。  现在,我正在使用xaudio2.7(2010年6月SDK)测试Windows 7支持,我发现它不会干净地关闭 - IXAudio2SourceVoice :: Stop()
和IXAudio2 :: StopEngine()都是导致如下消息:

I developed an audio engine that successfully uses xaudio2.8 on windows 8 without problems.  Now, I am testing with xaudio2.7 (June 2010 SDK) for windows 7 support and I am finding that it will not shutdown cleanly - both IXAudio2SourceVoice::Stop() and IXAudio2::StopEngine() are causing messages like the following:

First-chance exception at 0x00AD1B96 in NodeTest.exe: 0xC0000005: Access violation reading location 0x5BBD5F70.

并且没有更多信息。我正在尝试启用以下调试功能:

and there is no more information. I am trying to enable debugging features like the following:

::XAudio2Create( &mXAudio, XAUDIO2_DEBUG_ENGINE, XAUDIO2_DEFAULT_PROCESSOR );

但是我没有看到任何调试信息,这些信息会指向程序员的错误。  任何人都可以帮我启用调试工具,以便找到问题的根源吗?

However I do not see any debugging information logged that would point me to a programmer mistake.  Can anyone help me to enable to debugging tools so that I can find the root of this problem?

谢谢,

Rich

推荐答案

从Microsoft符号服务器启用符号。

Enable symbols from Microsoft Symbols Server.

http://support.microsoft.com/kb/311503/

此外,您可能需要查看 DirectXTK for Audio 和此MSDN示例集合,例如使用XAudio 2.8或2.7的代码

Also, you may want to check out DirectXTK for Audio and this MSDN sample collection for example code that uses XAudio 2.8 or 2.7

http://go.microsoft.com/fwlink/?LinkId=248929

http://code.msdn.microsoft.com/XAudio2-Win32-样本-024b3933


这篇关于仅XAudio2.7崩溃,XAUDIO2_DEBUG_ENGINE无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆