Searched refs:newPatch (Results 1 – 3 of 3) sorted by relevance
218 Patch *newPatch = new Patch(patch); in createAudioPatch() local266 newPatch->mPlaybackThread = (MixerThread *)thread.get(); in createAudioPatch()284 newPatch->mPlaybackThread = (PlaybackThread *)thread.get(); in createAudioPatch()286 newPatch->mPlaybackThread.get()); in createAudioPatch()287 if (newPatch->mPlaybackThread == 0) { in createAudioPatch()300 config.sample_rate = newPatch->mPlaybackThread->sampleRate(); in createAudioPatch()306 audio_channel_in_mask_from_count(newPatch->mPlaybackThread->channelCount()); in createAudioPatch()311 config.format = newPatch->mPlaybackThread->format(); in createAudioPatch()321 newPatch->mRecordThread = (RecordThread *)thread.get(); in createAudioPatch()323 newPatch->mRecordThread.get(), config.channel_mask); in createAudioPatch()[all …]
3006 struct audio_patch newPatch = *patch; in createAudioPatch() local3007 srcDeviceDesc->toAudioPortConfig(&newPatch.sources[0], &patch->sources[0]); in createAudioPatch()3020 sinkDeviceDesc->toAudioPortConfig(&newPatch.sinks[i], &patch->sinks[i]); in createAudioPatch()3043 outputDesc->toAudioPortConfig(&newPatch.sources[1], &patch->sources[0]); in createAudioPatch()3044 newPatch.sources[1].ext.mix.usecase.stream = AUDIO_STREAM_PATCH; in createAudioPatch()3045 newPatch.num_sources = 2; in createAudioPatch()3056 status_t status = mpClientInterface->createAudioPatch(&newPatch, in createAudioPatch()3063 patchDesc = new AudioPatch(&newPatch, uid); in createAudioPatch()3066 patchDesc->mPatch = newPatch; in createAudioPatch()
4137 AudioPatch newPatch = i.next(); in updateAudioPortCache() local4139 for (AudioPortConfig portCfg : newPatch.sources()) { in updateAudioPortCache()4145 for (AudioPortConfig portCfg : newPatch.sinks()) { in updateAudioPortCache()