Searched refs:newPatch (Results 1 – 3 of 3) sorted by relevance
177 Patch *newPatch = new Patch(patch); in createAudioPatch() local234 newPatch->mPlaybackThread = (MixerThread *)thread.get(); in createAudioPatch()245 newPatch->mPlaybackThread = audioflinger->openOutput_l( in createAudioPatch()253 newPatch->mPlaybackThread.get()); in createAudioPatch()254 if (newPatch->mPlaybackThread == 0) { in createAudioPatch()259 uint32_t channelCount = newPatch->mPlaybackThread->channelCount(); in createAudioPatch()264 config.sample_rate = newPatch->mPlaybackThread->sampleRate(); in createAudioPatch()266 config.format = newPatch->mPlaybackThread->format(); in createAudioPatch()268 newPatch->mRecordThread = audioflinger->openInput_l(srcModule, in createAudioPatch()276 newPatch->mRecordThread.get(), inChannelMask); in createAudioPatch()[all …]
3677 AudioPatch newPatch = i.next(); in updateAudioPortCache() local3679 for (AudioPortConfig portCfg : newPatch.sources()) { in updateAudioPortCache()3685 for (AudioPortConfig portCfg : newPatch.sinks()) { in updateAudioPortCache()
2735 struct audio_patch newPatch = *patch; in createAudioPatch() local2736 srcDeviceDesc->toAudioPortConfig(&newPatch.sources[0], &patch->sources[0]); in createAudioPatch()2749 sinkDeviceDesc->toAudioPortConfig(&newPatch.sinks[i], &patch->sinks[i]); in createAudioPatch()2769 outputDesc->toAudioPortConfig(&newPatch.sources[1], &patch->sources[0]); in createAudioPatch()2770 newPatch.num_sources = 2; in createAudioPatch()2781 status_t status = mpClientInterface->createAudioPatch(&newPatch, in createAudioPatch()2789 &newPatch, uid); in createAudioPatch()2792 patchDesc->mPatch = newPatch; in createAudioPatch()