如何暂停和恢复在Android的音频录制 [英] How to Pause and Resume Audio recording in android
问题描述
我正在开发使用MediaRecorder类音频录制应用程序。
我有以下要求:
I am developing an audio recording application using MediaRecorder class. I have the following requirement:
1。当一个暂停按钮pssed然后暂停录音$ P $。
1.When a pause button is pressed then pause recording.
2,当一个恢复按钮是pssed然后恢复记录的地方暂停$ P $。
我试试这个<一个href=\"http://stackoverflow.com/questions/5743165/pause-and-resume-audio-recording-in-android\">link
2.When a resume button is pressed then resume recording where it paused. I try this link
但我无法实现的功能。
任何帮助/建议将大大AP preciated。
Any help/suggestion would be greatly appreciated.
推荐答案
媒体录像机类不支持暂停和恢复,看到第二个链接类概述
尝试使用停止和重新启动
Media Recorder class does not support to pause and resume , see second link class overview try to use stop and restart
http://developer.android.com/reference/android/media/ MediaRecorder.html
<一个href=\"http://www.techotopia.com/index.php/Android_Audio_Recording_and_Playback_using_MediaPlayer_and_MediaRecorder\" rel=\"nofollow\">http://www.techotopia.com/index.php/Android_Audio_Recording_and_Playback_using_MediaPlayer_and_MediaRecorder
这篇关于如何暂停和恢复在Android的音频录制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!