summaryrefslogtreecommitdiffstats
path: root/include/media/AudioRecord.h
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2013-08-06 17:32:40 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-08-06 17:32:41 +0000
commit230c5bde2779c618b26edc73443280b2d9371c70 (patch)
tree313a1848799a279e3a56859f0d474a459a981d5a /include/media/AudioRecord.h
parent33f3177c08d238285b296d137e527ec99e34228f (diff)
parent7cd9cf70e36ad4b8eb12e24f9adbbe6fd69edebd (diff)
downloadframeworks_av-230c5bde2779c618b26edc73443280b2d9371c70.zip
frameworks_av-230c5bde2779c618b26edc73443280b2d9371c70.tar.gz
frameworks_av-230c5bde2779c618b26edc73443280b2d9371c70.tar.bz2
Merge "AudioRecord notification frames"
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 8973c5c..eef108b 100644
--- a/include/media/AudioRecord.h
+++ b/include/media/AudioRecord.h
@@ -448,7 +448,10 @@ private:
void* mUserData;
// 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