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
225 newPatch->mPlaybackThread = (MixerThread *)thread.get();
236 newPatch->mPlaybackThread = audioflinger->openOutput_l(
244 newPatch->mPlaybackThread.get());
245 if (newPatch->mPlaybackThread == 0) {
250 uint32_t channelCount = newPatch->mPlaybackThread->channelCount();
255 config.sample_rate = newPatch->mPlaybackThread->sampleRate();
257 config.format = newPatch->mPlaybackThread->format();
259 newPatch->mRecordThread = audioflinger->openInput_l(srcModule,
267 newPatch
[all...]
/frameworks/av/services/audiopolicy/managerdefault/
H A DAudioPolicyManager.cpp2375 struct audio_patch newPatch = *patch; local
2376 srcDeviceDesc->toAudioPortConfig(&newPatch.sources[0], &patch->sources[0]);
2389 sinkDeviceDesc->toAudioPortConfig(&newPatch.sinks[i], &patch->sinks[i]);
2412 outputDesc->toAudioPortConfig(&newPatch.sources[1], &patch->sources[0]);
2413 newPatch.sources[1].ext.mix.usecase.stream = AUDIO_STREAM_PATCH;
2414 newPatch.num_sources = 2;
2425 status_t status = mpClientInterface->createAudioPatch(&newPatch,
2432 patchDesc = new AudioPatch(&newPatch, uid);
2435 patchDesc->mPatch = newPatch;

Completed in 81 milliseconds