summaryrefslogtreecommitdiffstats
path: root/core/jni
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2012-04-18 09:27:14 -0700
committerEric Laurent <elaurent@google.com>2012-04-18 10:48:42 -0700
commit10536b657d306416dfec738c6538a1afcb7e078e (patch)
tree06a3eaf57acdca4d229a91bcfad2f4c91f53a07e /core/jni
parent23a2ce1fad31fc8467f3f53d39428e2d1f0a000e (diff)
downloadframeworks_base-10536b657d306416dfec738c6538a1afcb7e078e.zip
frameworks_base-10536b657d306416dfec738c6538a1afcb7e078e.tar.gz
frameworks_base-10536b657d306416dfec738c6538a1afcb7e078e.tar.bz2
rename audio policy flags
Change-Id: Id273d1366ed2dc9ae9f38497414a68523bceae66
Diffstat (limited to 'core/jni')
-rw-r--r--core/jni/android_media_AudioTrack.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/jni/android_media_AudioTrack.cpp b/core/jni/android_media_AudioTrack.cpp
index 9fbc477..a46714e 100644
--- a/core/jni/android_media_AudioTrack.cpp
+++ b/core/jni/android_media_AudioTrack.cpp
@@ -279,7 +279,7 @@ android_media_AudioTrack_native_setup(JNIEnv *env, jobject thiz, jobject weak_th
format,// word length, PCM
nativeChannelMask,
frameCount,
- AUDIO_POLICY_OUTPUT_FLAG_NONE,
+ AUDIO_OUTPUT_FLAG_NONE,
audioCallback, &(lpJniStorage->mCallbackData),//callback, callback data (user)
0,// notificationFrames == 0 since not using EVENT_MORE_DATA to feed the AudioTrack
0,// shared mem
@@ -300,7 +300,7 @@ android_media_AudioTrack_native_setup(JNIEnv *env, jobject thiz, jobject weak_th
format,// word length, PCM
nativeChannelMask,
frameCount,
- AUDIO_POLICY_OUTPUT_FLAG_NONE,
+ AUDIO_OUTPUT_FLAG_NONE,
audioCallback, &(lpJniStorage->mCallbackData),//callback, callback data (user));
0,// notificationFrames == 0 since not using EVENT_MORE_DATA to feed the AudioTrack
lpJniStorage->mMemBase,// shared mem