从 Windows Phone 7 中的麦克风获取数据文件 [英] Get data file from microphone in windows phone 7

查看:29
本文介绍了从 Windows Phone 7 中的麦克风获取数据文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用了 MSDN 网站上的麦克风示例代码.但是我在模拟器中没有找到我录制的音乐文件.谁能告诉我如何找到我录制的文件并将其导出到笔记本电脑的硬盘上?谢谢!

I use the sample code of microphone from MSDN website. But I did not find the music file I recorded in my emulator. And can any one tell me how to find my recorded file and export it to the hard drive on laptop? Thank you!

我也写了代码来记录记录中的数据:

I also write code to record the data from recording:

stream.Write(buffer, 0, buffer.Length);
using (var textFile = store.OpenFile("AudioFile.txt", FileMode.Create, FileAccess.Write))
using (var writer = new StreamWriter(textFile))
{ writer.Write(stream); }`

我也不知道如何获取我的文本文件.

I do not know how to get my text file either.

推荐答案

看看 这个问题.简而言之,您需要使用 Mango SDK 附带的 ISE(隔离存储资源管理器)命令行工具.

Have a look at this question. In short, you need to use the ISE (Isolated Storage Explorer) command line tool that ships with the Mango SDK.

这篇关于从 Windows Phone 7 中的麦克风获取数据文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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