Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp2081 audio_config_base_t *nConfigBase, bool isInput) { in javaAudioFormatToNativeAudioConfigBase() argument
2082 *nConfigBase = AUDIO_CONFIG_BASE_INITIALIZER; in javaAudioFormatToNativeAudioConfigBase()
2083 nConfigBase->format = in javaAudioFormatToNativeAudioConfigBase()
2085 nConfigBase->sample_rate = env->GetIntField(jFormat, gAudioFormatFields.mSampleRate); in javaAudioFormatToNativeAudioConfigBase()
2088 nConfigBase->channel_mask = jChannelIndexMask != 0 in javaAudioFormatToNativeAudioConfigBase()
2095 jobject nativeAudioConfigBaseToJavaAudioFormat(JNIEnv *env, const audio_config_base_t *nConfigBase, in nativeAudioConfigBaseToJavaAudioFormat() argument
2097 if (nConfigBase == nullptr) { in nativeAudioConfigBaseToJavaAudioFormat()
2103 switch (audio_channel_mask_get_representation(nConfigBase->channel_mask)) { in nativeAudioConfigBaseToJavaAudioFormat()
2105 channelMask = isInput ? inChannelMaskFromNative(nConfigBase->channel_mask) in nativeAudioConfigBaseToJavaAudioFormat()
2106 : outChannelMaskFromNative(nConfigBase->channel_mask); in nativeAudioConfigBaseToJavaAudioFormat()
[all …]