Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp1291 const audio_profile *nAudioProfile, bool useInMask) { in convertAudioProfileFromNative() argument
1295 int audioFormat = audioFormatFromNative(nAudioProfile->format); in convertAudioProfileFromNative()
1297 ALOGW("Unknown native audio format for JAVA API: %u", nAudioProfile->format); in convertAudioProfileFromNative()
1302 for (size_t index = 0; index < nAudioProfile->num_channel_masks; index++) { in convertAudioProfileFromNative()
1303 const audio_channel_mask_t mask = nAudioProfile->channel_masks[index]; in convertAudioProfileFromNative()
1312 env->NewIntArray(nAudioProfile->num_sample_rates)); in convertAudioProfileFromNative()
1319 if (nAudioProfile->num_sample_rates) { in convertAudioProfileFromNative()
1320 env->SetIntArrayRegion(jSamplingRates.get(), 0 /*start*/, nAudioProfile->num_sample_rates, in convertAudioProfileFromNative()
1322 nAudioProfile->sample_rates))); in convertAudioProfileFromNative()
1327 maskIndex < nAudioProfile->num_channel_masks; maskIndex++) { in convertAudioProfileFromNative()
[all …]