From 47d0a9264fa5297db6333697ad750e6bc06822aa Mon Sep 17 00:00:00 2001 From: Eric Laurent Date: Fri, 26 Feb 2010 02:47:27 -0800 Subject: Issue 2071329: audio track is shorter than video track for video capture on sholes Add API to retrieve number of frames dropped by audio input kernel driver. Submitted on behalf of Masaki Sato --- include/media/AudioSystem.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/media/AudioSystem.h') diff --git a/include/media/AudioSystem.h b/include/media/AudioSystem.h index 42bb4df4177a..d0ccc5059f4f 100644 --- a/include/media/AudioSystem.h +++ b/include/media/AudioSystem.h @@ -233,6 +233,7 @@ public: // necessary to check returned status before using the returned values. static status_t getRenderPosition(uint32_t *halFrames, uint32_t *dspFrames, int stream = DEFAULT); + static unsigned int getInputFramesLost(audio_io_handle_t ioHandle); // // AudioPolicyService interface // -- cgit v1.2.3-59-g8ed1b