From 7cd9cf70e36ad4b8eb12e24f9adbbe6fd69edebd Mon Sep 17 00:00:00 2001 From: Glenn Kasten Date: Thu, 1 Aug 2013 07:22:02 -0700 Subject: AudioRecord notification frames Change-Id: I76ec536d1504eb9a558178b62bf225aace4b40d1 --- include/media/AudioRecord.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/media/AudioRecord.h') diff --git a/include/media/AudioRecord.h b/include/media/AudioRecord.h index 7c240b4..c1b6b03 100644 --- a/include/media/AudioRecord.h +++ b/include/media/AudioRecord.h @@ -444,7 +444,10 @@ private: void* mUserData; // for client callback handler // for notification APIs - uint32_t mNotificationFrames; // frames between each notification callback + uint32_t mNotificationFramesReq; // requested number of frames between each + // notification callback + uint32_t mNotificationFramesAct; // actual number of frames between each + // notification callback bool mRefreshRemaining; // processAudioBuffer() should refresh next 2 // These are private to processAudioBuffer(), and are not protected by a lock -- cgit v1.1