My aim is to pause in recording file. I see in Android developer site its but Media Recorder have not pause option.
Java supports merge two audio file programatically bu
I had such a requirement in one of my projects, What we done was like make a raw file for saving recorded data in start of recording using AudioRecord
, the for each resume we append the data to the same file
like
FileOutputStream fos= new FileOutputStream(filename, true);
here the filename is the name of the raw file and append the new recording data to it.
And when user stop the recording we will convert the entire raw file to .wav( or other) formats. Sorry that i cant post the entire code. Hope this will give you a direction to work.