summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2014-01-14 15:44:30 -0800
committerGlenn Kasten <gkasten@google.com>2014-01-16 11:43:09 -0800
commit8ff50e7526d24aca11713006933b8dcb64ef6be9 (patch)
treeee376b9c28f6e18af6ef5c7772bef751d40a888e /include
parenta238b9b43a2b8dac60e0fd8700daa6cd4f644547 (diff)
downloadframeworks_av-8ff50e7526d24aca11713006933b8dcb64ef6be9.zip
frameworks_av-8ff50e7526d24aca11713006933b8dcb64ef6be9.tar.gz
frameworks_av-8ff50e7526d24aca11713006933b8dcb64ef6be9.tar.bz2
Use uint32_t sequence numbers for IAudioRecord
This makes it the same as for IAudioTrack. Previously we had a mix of int, int32_t and uint32_t, which could cause comparisons to fail. Change-Id: Ic72ef650ee81f65db11e42ed16d818fdf3e310f4
Diffstat (limited to 'include')
-rw-r--r--include/media/AudioRecord.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/AudioRecord.h b/include/media/AudioRecord.h
index 0439cb0..f4ced52 100644
--- a/include/media/AudioRecord.h
+++ b/include/media/AudioRecord.h
@@ -453,7 +453,7 @@ private:
// These are private to processAudioBuffer(), and are not protected by a lock
uint32_t mRemainingFrames; // number of frames to request in obtainBuffer()
bool mRetryOnPartialBuffer; // sleep and retry after partial obtainBuffer()
- int mObservedSequence; // last observed value of mSequence
+ uint32_t mObservedSequence; // last observed value of mSequence
uint32_t mMarkerPosition; // in wrapping (overflow) frame units
bool mMarkerReached;