Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp2307 static jint convertAudioMixFromNative(JNIEnv *env, jobject *jAudioMix, const AudioMix &nAudioMix) { in convertAudioMixFromNative() argument
2327 *jAudioMix = env->NewObject(gAudioMixClass, gAudioMixCstor, jAudioMixingRule, jAudioFormat, in convertAudioMixFromNative()
2333 static jint convertAudioMixToNative(JNIEnv *env, AudioMix *nAudioMix, const jobject jAudioMix) { in convertAudioMixToNative() argument
2334 nAudioMix->mMixType = env->GetIntField(jAudioMix, gAudioMixFields.mMixType); in convertAudioMixToNative()
2335 nAudioMix->mRouteFlags = env->GetIntField(jAudioMix, gAudioMixFields.mRouteFlags); in convertAudioMixToNative()
2337 static_cast<audio_devices_t>(env->GetIntField(jAudioMix, gAudioMixFields.mDeviceType)); in convertAudioMixToNative()
2340 static_cast<jstring>(env->GetObjectField(jAudioMix, gAudioMixFields.mDeviceAddress)); in convertAudioMixToNative()
2346 nAudioMix->mCbFlags = env->GetIntField(jAudioMix, gAudioMixFields.mCallbackFlags); in convertAudioMixToNative()
2348 jobject jFormat = env->GetObjectField(jAudioMix, gAudioMixFields.mFormat); in convertAudioMixToNative()
2352 jobject jRule = env->GetObjectField(jAudioMix, gAudioMixFields.mRule); in convertAudioMixToNative()
[all …]