Home
last modified time | relevance | path

Searched refs:dualMonoMode (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libmediahelper/
DAudioValidator.cpp133 status_t AudioValidator::validateDualMonoMode(audio_dual_mono_mode_t dualMonoMode) in validateDualMonoMode() argument
135 switch (dualMonoMode) { in validateDualMonoMode()
/frameworks/av/media/libmediahelper/include/media/
DAudioValidator.h85 static status_t validateDualMonoMode(audio_dual_mono_mode_t dualMonoMode);
/frameworks/base/media/java/android/media/
DAudioTrack.java1526 private static boolean isValidDualMonoMode(@DualMonoMode int dualMonoMode) { in isValidDualMonoMode() argument
1527 switch (dualMonoMode) { in isValidDualMonoMode()
1557 public boolean setDualMonoMode(@DualMonoMode int dualMonoMode) { in setDualMonoMode() argument
1558 if (!isValidDualMonoMode(dualMonoMode)) { in setDualMonoMode()
1560 "Invalid Dual Mono mode " + dualMonoMode); in setDualMonoMode()
1562 return native_set_dual_mono_mode(dualMonoMode) == SUCCESS; in setDualMonoMode()
1577 int[] dualMonoMode = { DUAL_MONO_MODE_OFF }; in getDualMonoMode() local
1579 final int status = native_get_dual_mono_mode(dualMonoMode); in getDualMonoMode()
1580 if (status != SUCCESS || !isValidDualMonoMode(dualMonoMode[0])) { in getDualMonoMode()
1586 return dualMonoMode[0]; in getDualMonoMode()
[all …]
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp1395 static jint android_media_AudioTrack_setDualMonoMode(JNIEnv *env, jobject thiz, jint dualMonoMode) { in android_media_AudioTrack_setDualMonoMode() argument
1403 lpTrack->setDualMonoMode(static_cast<audio_dual_mono_mode_t>(dualMonoMode))); in android_media_AudioTrack_setDualMonoMode()
1407 jintArray dualMonoMode) { in android_media_AudioTrack_getDualMonoMode() argument
1413 jint *nativeDualMonoMode = (jint *)env->GetPrimitiveArrayCritical(dualMonoMode, NULL); in android_media_AudioTrack_getDualMonoMode()
1421 env->ReleasePrimitiveArrayCritical(dualMonoMode, nativeDualMonoMode, 0 /* mode */); in android_media_AudioTrack_getDualMonoMode()