Lines Matching refs:patchBuilder
574 PatchBuilder patchBuilder; in createTelephonyPatch() local
580 patchBuilder.addSink(device). in createTelephonyPatch()
584 patchBuilder.addSource(device). in createTelephonyPatch()
601 patchBuilder.addSource(outputDesc, { .stream = AUDIO_STREAM_PATCH }); in createTelephonyPatch()
618 patchBuilder.patch(), &afPatchHandle, delayMs); in createTelephonyPatch()
623 audioPatch = new AudioPatch(patchBuilder.patch(), mUidCached); in createTelephonyPatch()
1387 PatchBuilder patchBuilder; in buildMsdPatch() local
1388 patchBuilder.addSource(getMsdAudioInDevice()).addSink(outputDevice); in buildMsdPatch()
1389 audio_port_config sourceConfig = patchBuilder.patch()->sources[0]; in buildMsdPatch()
1390 audio_port_config sinkConfig = patchBuilder.patch()->sinks[0]; in buildMsdPatch()
1403 return patchBuilder; in buildMsdPatch()
1418 PatchBuilder patchBuilder = buildMsdPatch(device); in setMsdPatch() local
1419 const struct audio_patch* patch = patchBuilder.patch(); in setMsdPatch()
3906 PatchBuilder patchBuilder; in connectAudioSource() local
3907 patchBuilder.addSource(srcDevice).addSource(outputDesc, { .stream = stream }); in connectAudioSource()
3908 status = mpClientInterface->createAudioPatch(patchBuilder.patch(), in connectAudioSource()
3913 sourceDesc->patchDesc()->mPatch = *patchBuilder.patch(); in connectAudioSource()
5531 PatchBuilder patchBuilder; in setOutputDevices() local
5532 patchBuilder.addSource(outputDesc); in setOutputDevices()
5535 patchBuilder.addSink(filteredDevice); in setOutputDevices()
5538 installPatch(__func__, patchHandle, outputDesc.get(), patchBuilder.patch(), delayMs); in setOutputDevices()
5582 PatchBuilder patchBuilder; in setInputDevice() local
5583 patchBuilder.addSink(inputDesc, in setInputDevice()
5594 status = installPatch(__func__, patchHandle, inputDesc.get(), patchBuilder.patch(), 0); in setInputDevice()