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.
精彩评论