同时使用PhotoCamera和运动传感器的问题 [英] Problems using PhotoCamera and motion sensor simultaneously

查看:80
本文介绍了同时使用PhotoCamera和运动传感器的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好。我在WP8应用程序中工作,我需要同时使用PhotoCamera和运动类,但我不能,因为态度阅读遭受无法抑制的延迟。有没有办法更优先考虑运动类的valuechangedevent来解决这个问题?
如果我在videobrush中禁用图像渲染,则动作api工作正常。


谢谢

解决方案

你好,


不幸的是,没有办法提高Motion API的优先级。可能你最好的选择是降低预览的分辨率,因为它会占用最大的处理能力。


我希望这会有所帮助,


James


Hello. I working in a WP8 app and I need use the PhotoCamera and motion class simultaneously but I can't because the attitude reading suffer unnaceptable lag. Is there any way to give more priority to the valuechangedevent of the motion class to solve that? If I disable the render of the image in the videobrush the motion api works fine.

Thank you

解决方案

Hello,

Unfortunately there is no way to boost the priority of the Motion API. Likely your best bet is to reduce the resolution of the preview since it will take up the most processing power.

I hope this helps,

James


这篇关于同时使用PhotoCamera和运动传感器的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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