【问题标题】:how to enable pause and resume in audio recorder in windows phone 8?(Details Insde)如何在 windows phone 8 的录音机中启用暂停和恢复?(详情内)
【发布时间】:2013-01-30 05:48:27
【问题描述】:

我正在使用 windows phone 8 中的录音机。我已经完成了录音开始和停止功能,但我没有找到任何暂停和恢复录音功能。也不知道如何为录制的音频添加细节,如创建的日期时间、专辑封面等,

我看过麦克风类,但找不到任何东西。

我见过 Microphone.GetData 方法并尝试使用它,如果有人知道这一点或知道任何有用的链接,请告诉我。 . .

【问题讨论】:

  • 有MediaPlayer.Stop和MediaPlayer.Play。试试看。我不确定是否适用于 Windows Phone,但它适用于桌面应用程序。
  • 在windows phone上,有Microphone.Start()和Microphone.Stop(),但我不知道如何暂停和恢复。 . .

标签: c# xna windows-phone-8


【解决方案1】:

尝试使用

 microphone.State == MicrophoneState.Started

【讨论】:

  • 你确定那是==
  • 如果它在 If 语句中,那么是的。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2011-08-10
  • 2012-07-24
  • 1970-01-01
  • 1970-01-01
  • 2023-04-07
  • 1970-01-01
相关资源
最近更新 更多