diff options
author | Glenn Kasten <gkasten@google.com> | 2014-02-27 15:30:41 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2014-02-28 07:56:34 -0800 |
commit | 838b3d8bafa4a781e277870dee4e0390165cff52 (patch) | |
tree | b70ff81e8ef1c9fcdc21aad7fd07dfe793ad6872 /include/media | |
parent | 484b4cd809aa46a54791d5c82a78d0f8aac895cf (diff) | |
download | frameworks_av-838b3d8bafa4a781e277870dee4e0390165cff52.zip frameworks_av-838b3d8bafa4a781e277870dee4e0390165cff52.tar.gz frameworks_av-838b3d8bafa4a781e277870dee4e0390165cff52.tar.bz2 |
Fix type of AudioTrack/AudioRecord parameter notificationFrames
It's uint32_t consistently
Change-Id: If8298c7e9aeea2b951fe47b675adbdf48d104846
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/AudioRecord.h | 4 | ||||
-rw-r--r-- | include/media/AudioTrack.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/include/media/AudioRecord.h b/include/media/AudioRecord.h index 7054fd4..429fefc 100644 --- a/include/media/AudioRecord.h +++ b/include/media/AudioRecord.h @@ -161,7 +161,7 @@ public: int frameCount = 0, callback_t cbf = NULL, void* user = NULL, - int notificationFrames = 0, + uint32_t notificationFrames = 0, int sessionId = AUDIO_SESSION_ALLOCATE, transfer_type transferType = TRANSFER_DEFAULT, audio_input_flags_t flags = AUDIO_INPUT_FLAG_NONE); @@ -194,7 +194,7 @@ public: int frameCount = 0, callback_t cbf = NULL, void* user = NULL, - int notificationFrames = 0, + uint32_t notificationFrames = 0, bool threadCanCallJava = false, int sessionId = AUDIO_SESSION_ALLOCATE, transfer_type transferType = TRANSFER_DEFAULT, diff --git a/include/media/AudioTrack.h b/include/media/AudioTrack.h index d0df710..b85e89a 100644 --- a/include/media/AudioTrack.h +++ b/include/media/AudioTrack.h @@ -186,7 +186,7 @@ public: audio_output_flags_t flags = AUDIO_OUTPUT_FLAG_NONE, callback_t cbf = NULL, void* user = NULL, - int notificationFrames = 0, + uint32_t notificationFrames = 0, int sessionId = AUDIO_SESSION_ALLOCATE, transfer_type transferType = TRANSFER_DEFAULT, const audio_offload_info_t *offloadInfo = NULL, @@ -212,7 +212,7 @@ public: audio_output_flags_t flags = AUDIO_OUTPUT_FLAG_NONE, callback_t cbf = NULL, void* user = NULL, - int notificationFrames = 0, + uint32_t notificationFrames = 0, int sessionId = AUDIO_SESSION_ALLOCATE, transfer_type transferType = TRANSFER_DEFAULT, const audio_offload_info_t *offloadInfo = NULL, @@ -249,7 +249,7 @@ public: audio_output_flags_t flags = AUDIO_OUTPUT_FLAG_NONE, callback_t cbf = NULL, void* user = NULL, - int notificationFrames = 0, + uint32_t notificationFrames = 0, const sp<IMemory>& sharedBuffer = 0, bool threadCanCallJava = false, int sessionId = AUDIO_SESSION_ALLOCATE, |