Searched refs:dualMonoMode (Results 1 – 5 of 5) sorted by relevance
132 status_t AudioValidator::validateDualMonoMode(audio_dual_mono_mode_t dualMonoMode) in validateDualMonoMode() argument134 switch (dualMonoMode) { in validateDualMonoMode()
85 static status_t validateDualMonoMode(audio_dual_mono_mode_t dualMonoMode);
1687 private static boolean isValidDualMonoMode(@DualMonoMode int dualMonoMode) { in isValidDualMonoMode() argument1688 switch (dualMonoMode) { in isValidDualMonoMode()1718 public boolean setDualMonoMode(@DualMonoMode int dualMonoMode) { in setDualMonoMode() argument1719 if (!isValidDualMonoMode(dualMonoMode)) { in setDualMonoMode()1721 "Invalid Dual Mono mode " + dualMonoMode); in setDualMonoMode()1723 return native_set_dual_mono_mode(dualMonoMode) == SUCCESS; in setDualMonoMode()1738 int[] dualMonoMode = { DUAL_MONO_MODE_OFF }; in getDualMonoMode() local1740 final int status = native_get_dual_mono_mode(dualMonoMode); in getDualMonoMode()1741 if (status != SUCCESS || !isValidDualMonoMode(dualMonoMode[0])) { in getDualMonoMode()1747 return dualMonoMode[0]; in getDualMonoMode()[all …]
1353 static jint android_media_AudioTrack_setDualMonoMode(JNIEnv *env, jobject thiz, jint dualMonoMode) { in android_media_AudioTrack_setDualMonoMode() argument1361 lpTrack->setDualMonoMode(static_cast<audio_dual_mono_mode_t>(dualMonoMode))); in android_media_AudioTrack_setDualMonoMode()1365 jintArray dualMonoMode) { in android_media_AudioTrack_getDualMonoMode() argument1371 jint *nativeDualMonoMode = env->GetIntArrayElements(dualMonoMode, nullptr /* isCopy */); in android_media_AudioTrack_getDualMonoMode()1379 env->ReleaseIntArrayElements(dualMonoMode, nativeDualMonoMode, 0 /* mode */); in android_media_AudioTrack_getDualMonoMode()
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...