diff options
author | Eric Laurent <elaurent@google.com> | 2010-07-28 05:40:18 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2010-07-28 05:49:21 -0700 |
commit | a4c72acfbc6c06588dd26cf41e67a834fc0a54f9 (patch) | |
tree | f837332558eb9f5bcec50e109878f7d98a644148 /media/jni/audioeffect | |
parent | b73045935cd8ec5d1a1c5e7a7ca800448b5789ea (diff) | |
download | frameworks_base-a4c72acfbc6c06588dd26cf41e67a834fc0a54f9.zip frameworks_base-a4c72acfbc6c06588dd26cf41e67a834fc0a54f9.tar.gz frameworks_base-a4c72acfbc6c06588dd26cf41e67a834fc0a54f9.tar.bz2 |
Audio effects: modified command() parameter types.
The type of the cmd, cmdSize and *pReplySize parameters of the effect control interface command()
function have been modified from int to uint32_t. This is more consistent with their role.
Change-Id: I84d289fc262d6753747910f06f485597dfee6591
Diffstat (limited to 'media/jni/audioeffect')
-rw-r--r-- | media/jni/audioeffect/android_media_AudioEffect.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/media/jni/audioeffect/android_media_AudioEffect.cpp b/media/jni/audioeffect/android_media_AudioEffect.cpp index e3b9e36..8d9f4fe 100644 --- a/media/jni/audioeffect/android_media_AudioEffect.cpp +++ b/media/jni/audioeffect/android_media_AudioEffect.cpp @@ -698,8 +698,11 @@ static jint android_media_AudioEffect_native_command(JNIEnv *env, jobject thiz, } } - lStatus = translateError(lpAudioEffect->command(cmdCode, cmdSize, pCmdData, - pReplySize, pReplyData)); + lStatus = translateError(lpAudioEffect->command((uint32_t)cmdCode, + (uint32_t)cmdSize, + pCmdData, + (uint32_t *)pReplySize, + pReplyData)); command_Exit: |