During recording audio using mediarecorder a output file has to be specified where the recorded data is stored. I would rather want to save the data to buffer and then create the file once the user saves the data.
So If i have something like this
Recorder = new MediaRecorder();
Recorder.setAudioSource(MediaRecorder.AudioSource.MIC);
Recorder.setOutputFormat(outputfileformat);
Recorder.setOutputFile(filePath);
Instead of using filePath Can i directly save it to buffer??
Thanks
Seems like you have to go through the AudioRecord class for that.