Home | History | Annotate | Download | only in jni

Lines Matching refs:nPatches

1171     struct audio_patch *nPatches = NULL;
1195 nPatches = (struct audio_patch *)realloc(nPatches, numPatches * sizeof(struct audio_patch));
1198 nPatches,
1220 nPatches[i].id);
1226 i, nPatches[i].num_sources, nPatches[i].num_sinks);
1228 env->SetIntField(patchHandle, gAudioHandleFields.mId, nPatches[i].id);
1231 jSources = env->NewObjectArray(nPatches[i].num_sources,
1238 for (size_t j = 0; j < nPatches[i].num_sources; j++) {
1242 &nPatches[i].sources[j]);
1251 nPatches[i].sources[j].type == AUDIO_PORT_TYPE_DEVICE ? "device" : "mix",
1252 nPatches[i].sources[j].id);
1255 jSinks = env->NewObjectArray(nPatches[i].num_sinks,
1262 for (size_t j = 0; j < nPatches[i].num_sinks; j++) {
1266 &nPatches[i].sinks[j]);
1276 nPatches[i].sinks[j].type == AUDIO_PORT_TYPE_DEVICE ? "device" : "mix",
1277 nPatches[i].sinks[j].id);
1311 free(nPatches);