Home
last modified time | relevance | path

Searched refs:mix (Results 1 – 25 of 30) sorted by relevance

12

/hardware/interfaces/audio/common/all-versions/default/
DHidlUtils.cpp199 config->ext.mix.hwModule = halConfig.ext.mix.hw_module; in audioPortConfigFromHal()
200 config->ext.mix.ioHandle = halConfig.ext.mix.handle; in audioPortConfigFromHal()
202 config->ext.mix.useCase.stream = AudioStreamType(halConfig.ext.mix.usecase.stream); in audioPortConfigFromHal()
204 config->ext.mix.useCase.source = AudioSource(halConfig.ext.mix.usecase.source); in audioPortConfigFromHal()
238 halConfig->ext.mix.hw_module = config.ext.mix.hwModule; in audioPortConfigToHal()
239 halConfig->ext.mix.handle = config.ext.mix.ioHandle; in audioPortConfigToHal()
241 halConfig->ext.mix.usecase.stream = in audioPortConfigToHal()
242 static_cast<audio_stream_type_t>(config.ext.mix.useCase.stream); in audioPortConfigToHal()
244 halConfig->ext.mix.usecase.source = in audioPortConfigToHal()
245 static_cast<audio_source_t>(config.ext.mix.useCase.source); in audioPortConfigToHal()
[all …]
DHidlUtils.h146 const struct audio_port_config_mix_ext& mix,
152 struct audio_port_config_mix_ext* mix,
/hardware/interfaces/audio/common/all-versions/default/7.0/
DHidlUtils.cpp572 halConfig.ext.device, halConfig.ext.mix, in audioUsageFromHal()
627 &halConfig->ext.device, &halConfig->ext.mix, in audioUsageFromHal()
636 const struct audio_port_config_mix_ext& mix, in audioUsageFromHal() argument
654 ext->mix({}); in audioUsageFromHal()
655 ext->mix().ioHandle = mix.handle; in audioUsageFromHal()
657 ext->mix().useCase.stream({}); in audioUsageFromHal()
659 audioStreamTypeFromHal(mix.usecase.stream, &ext->mix().useCase.stream()), in audioUsageFromHal()
662 ext->mix().useCase.source({}); in audioUsageFromHal()
664 audioSourceFromHal(mix.usecase.source, &ext->mix().useCase.source()), in audioUsageFromHal()
680 struct audio_port_config_mix_ext* mix, in audioUsageFromHal() argument
[all …]
/hardware/interfaces/audio/core/all-versions/vts/functional/7.0/
DAudioPrimaryHidlHalTest.cpp92 configWithPortExtMixSource.ext.mix({}); in generatePortConfigs()
93 configWithPortExtMixSource.ext.mix().useCase.stream( in generatePortConfigs()
97 configWithPortExtMixSink.ext.mix({}); in generatePortConfigs()
98 configWithPortExtMixSink.ext.mix().useCase.source( in generatePortConfigs()
125 invalidStreamType.ext.mix().useCase.stream() = "random_string"; in generatePortConfigs()
128 invalidSource.ext.mix().useCase.source() = "random_string"; in generatePortConfigs()
533 source.ext.mix({}); in createPatchIfNeeded()
534 source.ext.mix().ioHandle = helper.getIoHandle(); in createPatchIfNeeded()
535 source.ext.mix().useCase.stream({}); in createPatchIfNeeded()
705 sink.ext.mix({}); in createPatchIfNeeded()
[all …]
/hardware/interfaces/audio/effect/4.0/
DIDownmixEffect.hal25 FOLD // mix the extra channels with FL/FR
/hardware/interfaces/audio/effect/5.0/
DIDownmixEffect.hal25 FOLD // mix the extra channels with FL/FR
/hardware/interfaces/audio/effect/2.0/
DIDownmixEffect.hal25 FOLD // mix the extra channels with FL/FR
/hardware/interfaces/audio/effect/6.0/
DIDownmixEffect.hal25 FOLD // mix the extra channels with FL/FR
/hardware/interfaces/audio/effect/7.0/
DIDownmixEffect.hal25 FOLD // mix the extra channels with FL/FR
/hardware/interfaces/audio/aidl/vts/
DModuleConfig.cpp178 return port.ext.getTag() == AudioPortExt::Tag::mix && in getInputMixPorts()
188 return port.ext.getTag() == AudioPortExt::Tag::mix && in getOutputMixPorts()
292 auto make_pair = [isInput](auto& device, auto& mix) { in getNonRoutableSrcSinkPair() argument
293 return isInput ? std::make_pair(device, mix) : std::make_pair(mix, device); in getNonRoutableSrcSinkPair()
DVtsHalAudioCoreModuleTargetTest.cpp1390 if (port.ext.getTag() != AudioPortExt::Tag::mix) continue; in TEST_P()
1391 const auto& mixPort = port.ext.get<AudioPortExt::Tag::mix>(); in TEST_P()
1566 ASSERT_EQ(AudioPortExt::Tag::mix, suggestedConfig.ext.getTag()); in TEST_P()
1567 EXPECT_EQ(kIoHandle, suggestedConfig.ext.get<AudioPortExt::Tag::mix>().handle); in TEST_P()
1580 ASSERT_EQ(AudioPortExt::Tag::mix, appliedConfig.ext.getTag()); in TEST_P()
1581 EXPECT_EQ(kIoHandle, appliedConfig.ext.get<AudioPortExt::Tag::mix>().handle); in TEST_P()
2482 const size_t maxStreamCount = port.ext.get<AudioPortExt::Tag::mix>().maxOpenStreamCount; in OpenOverMaxCount()
/hardware/interfaces/audio/common/2.0/
Dtypes.hal130 * Source for the mix to be presented remotely. An example of remote
132 * to play the mix captured by this audio source.
164 * Session for effects applied to output mix. These effects can
823 * Audio port type indicates if it is a session (e.g AudioTrack), a mix (e.g
886 } mix;
901 * Latency class of the audio mix.
934 AudioPortMixExt mix;
/hardware/interfaces/audio/common/4.0/
Dtypes.hal124 * Source for the mix to be presented remotely. An example of remote
126 * to play the mix captured by this audio source.
150 * Session for effects applied to output mix. These effects can
784 * Audio port type indicates if it is a session (e.g AudioTrack), a mix (e.g
846 } mix;
862 * Latency class of the audio mix.
895 AudioPortMixExt mix;
/hardware/interfaces/audio/common/5.0/
Dtypes.hal126 * Source for the mix to be presented remotely. An example of remote
128 * to play the mix captured by this audio source.
164 * Session for effects applied to output mix. These effects can
913 * Audio port type indicates if it is a session (e.g AudioTrack), a mix (e.g
975 } mix;
991 * Latency class of the audio mix.
1024 AudioPortMixExt mix;
/hardware/interfaces/audio/aidl/default/
DModule.cpp197 portConfigIt->ext.get<AudioPortExt::mix>().handle, in createStreamContext()
266 if (portIt->ext.getTag() != AudioPortExt::Tag::mix) { in findPortIdForNewStream()
271 const size_t maxOpenStreamCount = portIt->ext.get<AudioPortExt::Tag::mix>().maxOpenStreamCount; in findPortIdForNewStream()
977 if (out_suggested->ext.getTag() == AudioPortExt::Tag::mix) { in setAudioPortConfig()
979 out_suggested->ext.get<AudioPortExt::Tag::mix>().handle = in setAudioPortConfig()
980 in_requested.ext.get<AudioPortExt::Tag::mix>().handle; in setAudioPortConfig()
DConfiguration.cpp94 return AudioPortExt::make<AudioPortExt::Tag::mix>(mixExt); in createPortMixExt()
/hardware/interfaces/audio/common/7.0/
Dtypes.hal96 * Session for effects applied to output mix. These effects can
474 /** Set when the audio port is a mix. The handle is of a stream. */
484 } mix;
/hardware/interfaces/audio/common/6.0/
Dtypes.hal166 * Source for the mix to be presented remotely. An example of remote
168 * to play the mix captured by this audio source.
211 * Session for effects applied to output mix. These effects can
1072 * Audio port type indicates if it is a session (e.g AudioTrack), a mix (e.g
1134 } mix;
1150 * Latency class of the audio mix.
1183 AudioPortMixExt mix;
/hardware/interfaces/camera/device/1.0/
DICameraDeviceCallback.hal102 * recording. The HAL must not mix use of this method with handleCallbackTimestamp in one
/hardware/libhardware/modules/usbaudio/
Daudio_hal.c1759 in = adev_get_stream_in_by_io_handle_l(adev, sinks[0].ext.mix.handle); in adev_create_audio_patch()
1761 ALOGE("%s()can not find stream with handle(%d)", __func__, sinks[0].ext.mix.handle); in adev_create_audio_patch()
1775 out = adev_get_stream_out_by_io_handle_l(adev, sources[0].ext.mix.handle); in adev_create_audio_patch()
1777 ALOGE("%s()can not find stream with handle(%d)", __func__, sources[0].ext.mix.handle); in adev_create_audio_patch()
/hardware/interfaces/audio/4.0/config/api/
Dcurrent.txt272 enum_constant public static final audio.policy.configuration.V4_0.MixType mix;
/hardware/interfaces/audio/6.0/config/api/
Dcurrent.txt302 enum_constant public static final audio.policy.configuration.V6_0.MixType mix;
/hardware/interfaces/audio/5.0/config/api/
Dcurrent.txt292 enum_constant public static final audio.policy.configuration.V5_0.MixType mix;
/hardware/interfaces/audio/7.1/config/api/
Dcurrent.txt484 enum_constant public static final android.audio.policy.configuration.V7_1.MixType mix;
/hardware/interfaces/audio/7.0/config/api/
Dcurrent.txt473 enum_constant public static final android.audio.policy.configuration.V7_0.MixType mix;

12