Home
last modified time | relevance | path

Searched refs:mAudioPatch (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/services/audioflinger/
DPatchPanel.cpp149 const struct audio_patch &oldPatch = removedPatch.mAudioPatch; in createAudioPatch()
334 if (iter.second.mAudioPatch.sinks[0].ext.mix.handle == thread->id()) { in createAudioPatch()
400 if (iter.second.mAudioPatch.sources[0].ext.mix.handle == thread->id()) { in createAudioPatch()
436 PatchBuilder().addSource(mAudioPatch.sources[0]). in createConnections()
445 if (mAudioPatch.num_sinks != 0) { in createConnections()
447 PatchBuilder().addSource(mPlayback.thread()).addSink(mAudioPatch.sinks[0]).patch(), in createConnections()
470 audio_input_flags_t inputFlags = mAudioPatch.sources[0].config_mask & AUDIO_PORT_CONFIG_FLAGS ? in createConnections()
471 mAudioPatch.sources[0].flags.input : AUDIO_INPUT_FLAG_NONE; in createConnections()
484 audio_output_flags_t outputFlags = mAudioPatch.sinks[0].config_mask & AUDIO_PORT_CONFIG_FLAGS ? in createConnections()
485 mAudioPatch.sinks[0].flags.output : AUDIO_OUTPUT_FLAG_NONE; in createConnections()
[all …]
DPatchPanel.h163 explicit Patch(const struct audio_patch &patch) : mAudioPatch(patch) {} in Patch()
167 mAudioPatch = other.mAudioPatch; in Patch()
181 swap(mAudioPatch, other.mAudioPatch); in swap()
207 struct audio_patch mAudioPatch; variable
DDeviceEffectManager.cpp37 patch.mAudioPatch.num_sinks, in createAudioPatch()
38 patch.mAudioPatch.num_sinks > 0 ? patch.mAudioPatch.sinks[0].ext.device.type : 0); in createAudioPatch()
47 patch.mAudioPatch.num_sinks > 0 ? patch.mAudioPatch.sinks[0].ext.device.type : 0); in onCreateAudioPatch()
DEffects.cpp2985 status = checkPort(patch, &patch.mAudioPatch.sources[0], &handle); in onCreatePatch()
2987 for (uint32_t i = 0; i < patch.mAudioPatch.num_sinks && status == NAME_NOT_FOUND; i++) { in onCreatePatch()
2988 status = checkPort(patch, &patch.mAudioPatch.sinks[i], &handle); in onCreatePatch()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java783 if (mAudioPatch != null) {
784 mAudioManager.releaseAudioPatch(mAudioPatch);
785 mAudioPatch = null;
794 private AudioPatch mAudioPatch = null; field in TvInputHardwareManager.TvInputHardwareImpl
849 if (mAudioPatch != null) { in release()
850 mAudioManager.releaseAudioPatch(mAudioPatch); in release()
851 mAudioPatch = null; in release()
913 if (mAudioPatch != null) { in updateAudioConfigLocked()
914 mAudioManager.releaseAudioPatch(mAudioPatch); in updateAudioConfigLocked()
915 mAudioPatch = null; in updateAudioConfigLocked()
[all …]