Searched defs:newPatch (Results 1 - 2 of 2) sorted by relevance

/frameworks/av/services/audioflinger/
H A DPatchPanel.cpp177 Patch *newPatch = new Patch(patch); local
234 newPatch->mPlaybackThread = (MixerThread *)thread.get();
245 newPatch->mPlaybackThread = audioflinger->openOutput_l(
253 newPatch->mPlaybackThread.get());
254 if (newPatch->mPlaybackThread == 0) {
259 uint32_t channelCount = newPatch->mPlaybackThread->channelCount();
264 config.sample_rate = newPatch->mPlaybackThread->sampleRate();
266 config.format = newPatch->mPlaybackThread->format();
268 newPatch->mRecordThread = audioflinger->openInput_l(srcModule,
276 newPatch
[all...]
/frameworks/av/services/audiopolicy/
H A DAudioPolicyManager.cpp2735 struct audio_patch newPatch = *patch; local
2736 srcDeviceDesc->toAudioPortConfig(&newPatch.sources[0], &patch->sources[0]);
2749 sinkDeviceDesc->toAudioPortConfig(&newPatch.sinks[i], &patch->sinks[i]);
2769 outputDesc->toAudioPortConfig(&newPatch.sources[1], &patch->sources[0]);
2770 newPatch.num_sources = 2;
2781 status_t status = mpClientInterface->createAudioPatch(&newPatch,
2789 &newPatch, uid);
2792 patchDesc->mPatch = newPatch;

Completed in 416 milliseconds