summaryrefslogtreecommitdiffstats
path: root/include/media/AudioRecord.h
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2013-08-01 07:22:02 -0700
committerGlenn Kasten <gkasten@google.com>2013-08-02 16:22:42 -0700
commit7cd9cf70e36ad4b8eb12e24f9adbbe6fd69edebd (patch)
tree71596e7e98be91b19b5fe16a74a12926a0232177 /include/media/AudioRecord.h
parent3151427b6b0adf99929433715bab6f1e505100c1 (diff)
downloadframeworks_av-7cd9cf70e36ad4b8eb12e24f9adbbe6fd69edebd.zip
frameworks_av-7cd9cf70e36ad4b8eb12e24f9adbbe6fd69edebd.tar.gz
frameworks_av-7cd9cf70e36ad4b8eb12e24f9adbbe6fd69edebd.tar.bz2
AudioRecord notification frames
Change-Id: I76ec536d1504eb9a558178b62bf225aace4b40d1
Diffstat (limited to 'include/media/AudioRecord.h')
-rw-r--r--include/media/AudioRecord.h5
1 files changed, 4 insertions, 1 deletions
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