Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp1595 struct audio_patch *nPatches = NULL; in android_media_AudioSystem_listAudioPatches() local
1625 nPatches = (struct audio_patch *)realloc(nPatches, numPatches * sizeof(struct audio_patch)); in android_media_AudioSystem_listAudioPatches()
1628 nPatches, in android_media_AudioSystem_listAudioPatches()
1642 nPatches[i].id); in android_media_AudioSystem_listAudioPatches()
1648 i, nPatches[i].num_sources, nPatches[i].num_sinks); in android_media_AudioSystem_listAudioPatches()
1650 env->SetIntField(patchHandle, gAudioHandleFields.mId, nPatches[i].id); in android_media_AudioSystem_listAudioPatches()
1653 jSources = env->NewObjectArray(nPatches[i].num_sources, in android_media_AudioSystem_listAudioPatches()
1660 for (size_t j = 0; j < nPatches[i].num_sources; j++) { in android_media_AudioSystem_listAudioPatches()
1664 &nPatches[i].sources[j]); in android_media_AudioSystem_listAudioPatches()
1673 nPatches[i].sources[j].type == AUDIO_PORT_TYPE_DEVICE ? "device" : "mix", in android_media_AudioSystem_listAudioPatches()
[all …]