I’ve been looking, but I didn’t find anything, the most I found were recorders with just stop, my application the pause is essential. If anyone can help me.
You’ll have to do with the AudioRecorder If I’m not mistaken, it allows you to work with a RAW stream of audio. The pause would basically stop the microphone and the writing of your stream, and the resume would be to continue this. Problem is, the audio comes RAW, so you have to do the whole enconding part of the audio.
Example has so far in the OS en: http://stackoverflow.com/questions/8499042/android-audiorecord-example. Android Dev has class documentation also http://developer.android.com/intl/pt-br/reference/android/media/AudioRecord.html As I said, to pause, is "only" you do not close the file stream, but stop recording the audio stream. Good luck :)
You’ll have to do with the
AudioRecorder
If I’m not mistaken, it allows you to work with a RAW stream of audio. The pause would basically stop the microphone and the writing of your stream, and the resume would be to continue this. Problem is, the audio comes RAW, so you have to do the whole enconding part of the audio.– DH.
Is there an example of how to do this? And thanks for the help.
– Matheus Ariel
Example has so far in the OS en: http://stackoverflow.com/questions/8499042/android-audiorecord-example. Android Dev has class documentation also http://developer.android.com/intl/pt-br/reference/android/media/AudioRecord.html As I said, to pause, is "only" you do not close the file stream, but stop recording the audio stream. Good luck :)
– DH.