开发者

Pause and resume while recording audio

In my app, I record voice and play it successful开发者_JAVA技巧ly. I need to pause the recording and the resume on button clicks. Any suggestions.


Can't do this with MediaRecorder, as far as I know. You'll just have to resume to a new file. If using Audio Recorder and streaming to a wave file, you can just open back the same file and seek to the end. Don't forget to update the header when you close the file.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜