01-09-2013 07:09 PM
I have yet to discover a way to use the AudioRecorder class and have it append to an existing file when started (i.e. call prepare()). It always starts a new file. I need to call reset() occasionally to allow the audio to be reviewed using MediaPlayer, otherwise MediaPlayer fails - I assume the file remains open/locked by AudioRecorder until reset() is called.
Does anyone know a way to configure AudioRecorder such that it will append to an existing audio file? Or will I need to look at the native snd_pcm* calls that are part of the libasound library? (A considerably more complicated endeavour that I would like to avoid if possible.)