This seems to be either an error in MediaRecorder, or in the firmware of the device. You can see the same delay in the default Camera application, which also uses MediaRecorder. I also noticed that at the end of each recording there is an additional sound when the video stops. However, video and audio seem to sync throughout the video. This is something like this:
========================================= Audio being captured ========================================= Video being captured |----|----|----|----|----|----|----|----|----| Time ^ ^ start() stop()
Thus, the sound is not really βshiftedβ, it just begins and ends after capturing the video.
I am watching the delay on a Motorola Xoom tablet running Honeycomb (Android 3.0).
See the bug report here: http://code.google.com/p/android/issues/detail?id=15953
source share