WASAPI IAudioClient-> Initialize返回E_FAILED。 [英] WASAPI IAudioClient->Initialize returns E_FAILED.

查看:187
本文介绍了WASAPI IAudioClient-> Initialize返回E_FAILED。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用WASAPI在Windows Phone上进行音频捕获和渲染,但是现在最大的挑战是面对4天大约两天..每当我调用d IAudioClient->初始化方法时我所知道的是正确的参数。我得到的返回HRESULT是E_FAILED。我不能再想了因为我不知道d电话会出现什么问题。毕竟,我不是WASAPI的新手。我已经在Windows上使用wasapi用于不同的音频应用程序,每次调用返回S_OK。现在我不知道为什么Windows Phone给我这么头疼。我忘记了,我也尝试了WPhone的第三方wasapi代码(来自msdn),它在同一个初始化点返回E_FAILED。我已经在模拟器和Real Windows 8手机上进行了测试,但同样的问题浮出水面。我现在真的很生气。希望救世主可以干预...

I'm working with WASAPI for audio capturing and rendering on Windows Phone but here comes the biggest challenge have been facing 4 about two days now.. Whenever i call d IAudioClient->Initialize method with what i know are the right parameters. What i get as return HRESULT is E_FAILED. I can't think again coz i don't know what might be wrong with d call. Afterall, i'm not new to WASAPI. I've used wasapi for different audio app on windows with everycall returning S_OK. Now i don't know why Windows Phone is given me such a headache. Less i forget, i also tried a 3rd party wasapi code for WPhone too (from msdn) , it returns E_FAILED at that same Initialization point. I've tested both on the Emulator and on Real Windows 8 phone but the same problem surfaced. I'm really pissed off now. Wish a saviour can intervain...

推荐答案

对不起,这件事来得晚,但总有一天可能对某人有所帮助。 WASAPI返回E_FAILED,因为我没有将我的应用配置设置为使用AUDIO。
I'm sorry this is coming late but might still be of help to somebody someday. WASAPI returns E_FAILED because I didn't set my app configuration to use AUDIO.


这篇关于WASAPI IAudioClient-> Initialize返回E_FAILED。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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