summaryrefslogtreecommitdiffstats
path: root/include/private
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-01-17 07:27:46 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-01-17 07:27:46 -0800
commit8c17a2f0884527c3ce42a2c6dbd073014d179b53 (patch)
tree914455ede452e4c89c7c3d700fc68c6a2cb0b157 /include/private
parent3c6b9cca79c872427599a325bcbb5d4a00113d80 (diff)
parentfaf354dc7f8065a90174adb6e725603176f0044f (diff)
downloadframeworks_base-8c17a2f0884527c3ce42a2c6dbd073014d179b53.zip
frameworks_base-8c17a2f0884527c3ce42a2c6dbd073014d179b53.tar.gz
frameworks_base-8c17a2f0884527c3ce42a2c6dbd073014d179b53.tar.bz2
Merge "Use size_t for frame size"
Diffstat (limited to 'include/private')
-rw-r--r--include/private/media/AudioTrackShared.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/private/media/AudioTrackShared.h b/include/private/media/AudioTrackShared.h
index 86e0682..33a92cd 100644
--- a/include/private/media/AudioTrackShared.h
+++ b/include/private/media/AudioTrackShared.h
@@ -80,7 +80,7 @@ struct audio_track_cblk_t
// 8 bit PCM data: in this case, mCblk->frameSize is based on a sample size of
// 16 bit because data is converted to 16 bit before being stored in buffer
- uint8_t frameSize;
+ uint8_t frameSize; // would normally be size_t, but 8 bits is plenty
uint8_t pad1;
uint16_t bufferTimeoutMs; // Maximum cumulated timeout before restarting audioflinger