Android MediaRecorder audio recording starts with delay? -
i using mediarecorder record audio in android application.
my earlier steps were, follows :
1] play beep sound, ( way of notifying user recording has started ) 2] prepare recorder passing file reference, 3] call start() method of recorder, 4] above step 2 & 3 called after listening beep play completion using [mediaplayer.oncompletionlistener][2],
then after testing observed, if "hello world ! how ?"
whole "hello world"
part missing recording, changed steps follows :
1] prepare recorder passing file reference, 2] play beep sound, ( way of notifying user recording has started ) 3] call start() method of recorder listening beep play completion using [mediaplayer.oncompletionlistener][2],
now delay has been minimized still, missing "hello"
word in recording, i.e. small delay still exists.
the documentation of mediarecorder start() not specify such delay.
what can eliminate delay in start of recording ? how can sure of point in time recording started ?
Comments
Post a Comment