Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp1827 std::vector<audio_patch> nPatches; in android_media_AudioSystem_listAudioPatches() local
1852 nPatches.resize(numPatches); in android_media_AudioSystem_listAudioPatches()
1854 status = AudioSystem::listAudioPatches(&numPatches, nPatches.data(), &generation); in android_media_AudioSystem_listAudioPatches()
1873 nPatches[i].id); in android_media_AudioSystem_listAudioPatches()
1879 i, nPatches[i].num_sources, nPatches[i].num_sinks); in android_media_AudioSystem_listAudioPatches()
1881 env->SetIntField(patchHandle, gAudioHandleFields.mId, nPatches[i].id); in android_media_AudioSystem_listAudioPatches()
1884 jSources.reset(env->NewObjectArray(nPatches[i].num_sources, gAudioPortConfigClass, NULL)); in android_media_AudioSystem_listAudioPatches()
1890 for (size_t j = 0; j < nPatches[i].num_sources; j++) { in android_media_AudioSystem_listAudioPatches()
1894 &nPatches[i].sources[j]); in android_media_AudioSystem_listAudioPatches()
1904 nPatches[i].sources[j].type == AUDIO_PORT_TYPE_DEVICE ? "device" : "mix", in android_media_AudioSystem_listAudioPatches()
[all …]