Searched refs:oldPatch (Results 1 – 1 of 1) sorted by relevance
148 const struct audio_patch &oldPatch = removedPatch.mAudioPatch; in createAudioPatch() local149 if (oldPatch.sources[0].type == AUDIO_PORT_TYPE_DEVICE && in createAudioPatch()151 oldPatch.sources[0].ext.device.hw_module != in createAudioPatch()153 hwModule = oldPatch.sources[0].ext.device.hw_module; in createAudioPatch()155 (oldPatch.sinks[0].type == AUDIO_PORT_TYPE_DEVICE && in createAudioPatch()157 oldPatch.sinks[0].ext.device.hw_module != in createAudioPatch()164 hwModule = oldPatch.sinks[0].ext.device.hw_module; in createAudioPatch()