Lines Matching refs:newPatch
200 Patch newPatch{*patch, endpointPatch}; in createAudioPatch() local
257 newPatch.mPlayback.setThread( in createAudioPatch()
287 newPatch.mPlayback.setThread(reinterpret_cast<PlaybackThread*>(thread.get())); in createAudioPatch()
297 config.sample_rate = newPatch.mPlayback.thread()->sampleRate(); in createAudioPatch()
303 newPatch.mPlayback.thread()->channelCount()); in createAudioPatch()
308 config.format = newPatch.mPlayback.thread()->format(); in createAudioPatch()
329 newPatch.mRecord.setThread(reinterpret_cast<RecordThread*>(thread.get())); in createAudioPatch()
330 status = newPatch.createConnections(this); in createAudioPatch()
352 newPatch.setThread(thread); in createAudioPatch()
418 newPatch.setThread(thread); in createAudioPatch()
442 newPatch.mHalHandle = halHandle; in createAudioPatch()
443 mAudioFlinger.mDeviceEffectManager.createAudioPatch(*handle, newPatch); in createAudioPatch()
445 addSoftwarePatchToInsertedModules(insertedModule, *handle, &newPatch.mAudioPatch); in createAudioPatch()
447 mPatches.insert(std::make_pair(*handle, std::move(newPatch))); in createAudioPatch()
449 newPatch.clearConnections(this); in createAudioPatch()