access to input data from microphone in WP7?

爷,独闯天下 提交于 2019-12-21 22:21:52

问题


How can I access to input data from microphone in Windows Phone 7.0 or 7.1? (like a Volume Meter), i want to detect start and end input data from microphone.


回答1:


Have a look at How to: Access the Microphone in a Silverlight Application for Windows Phone for basic usage.

If you want to detect the start and stop of certain audio input you'll have to parse/process the returned stream yourself.




回答2:


This blog post also has a great tutorial (and code) showing how you access the microphone in WP7 via XNA: http://blogs.msdn.com/b/mikeormond/archive/2010/08/27/xna-from-silverlight-on-windows-phone-7-the-microphone.aspx

Good luck!



来源:https://stackoverflow.com/questions/7075278/access-to-input-data-from-microphone-in-wp7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!