Home
last modified time | relevance | path

Searched refs:newPatch (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/services/audioflinger/
DPatchPanel.cpp184 Patch *newPatch = new Patch(patch); in createAudioPatch() local
232 newPatch->mPlaybackThread = (MixerThread *)thread.get(); in createAudioPatch()
243 newPatch->mPlaybackThread = audioflinger->openOutput_l( in createAudioPatch()
251 newPatch->mPlaybackThread.get()); in createAudioPatch()
252 if (newPatch->mPlaybackThread == 0) { in createAudioPatch()
265 config.sample_rate = newPatch->mPlaybackThread->sampleRate(); in createAudioPatch()
271 audio_channel_in_mask_from_count(newPatch->mPlaybackThread->channelCount()); in createAudioPatch()
276 config.format = newPatch->mPlaybackThread->format(); in createAudioPatch()
279 newPatch->mRecordThread = audioflinger->openInput_l(srcModule, in createAudioPatch()
287 newPatch->mRecordThread.get(), config.channel_mask); in createAudioPatch()
[all …]
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp2586 struct audio_patch newPatch = *patch; in createAudioPatch() local
2587 srcDeviceDesc->toAudioPortConfig(&newPatch.sources[0], &patch->sources[0]); in createAudioPatch()
2600 sinkDeviceDesc->toAudioPortConfig(&newPatch.sinks[i], &patch->sinks[i]); in createAudioPatch()
2623 outputDesc->toAudioPortConfig(&newPatch.sources[1], &patch->sources[0]); in createAudioPatch()
2624 newPatch.sources[1].ext.mix.usecase.stream = AUDIO_STREAM_PATCH; in createAudioPatch()
2625 newPatch.num_sources = 2; in createAudioPatch()
2636 status_t status = mpClientInterface->createAudioPatch(&newPatch, in createAudioPatch()
2643 patchDesc = new AudioPatch(&newPatch, uid); in createAudioPatch()
2646 patchDesc->mPatch = newPatch; in createAudioPatch()
/frameworks/base/media/java/android/media/
DAudioManager.java3764 AudioPatch newPatch = i.next(); in updateAudioPortCache() local
3766 for (AudioPortConfig portCfg : newPatch.sources()) { in updateAudioPortCache()
3772 for (AudioPortConfig portCfg : newPatch.sinks()) { in updateAudioPortCache()