Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audioeffect/src/
H A Daudio_effect_chain_manager.cpp518 float volumeMax = 0.0f; in EffectDspVolumeUpdate() local
535 volumeMax = fmax((streamVolumeTemp * systemVolumeTemp), volumeMax); in EffectDspVolumeUpdate()
539 static_cast<int32_t>(volumeMax * MAX_UINT_VOLUME_NUM)) { in EffectDspVolumeUpdate()
540 audioEffectVolume->SetDspVolume(volumeMax); in EffectDspVolumeUpdate()
542 AUDIO_INFO_LOG("finalVolume change to %{public}f", volumeMax); in EffectDspVolumeUpdate()
577 if (volumeMax > currVolumeTemp) { in EffectApVolumeUpdate()
578 audioEffectChain->SetCurrVolume(volumeMax); in EffectApVolumeUpdate()
592 float volumeMax = audioEffectChain->GetCurrVolume(); in SendEffectApVolume() local
594 static_cast<int32_t>(volumeMax * MAX_UINT_VOLUME_NUM)) && in SendEffectApVolume()
596 audioEffectChain->SetFinalVolume(volumeMax); in SendEffectApVolume()
[all …]
/ohos5.0/drivers/peripheral/audio/test/systemtest/hdi_service/common/capture/src/
H A Daudio_idl_hdicapture_volume_test.cpp223 float volumeMax = 1.0; variable
235 ret = capture->SetVolume(capture, volumeMax);
237 ret = capture->GetVolume(capture, &volumeMax);
239 EXPECT_EQ(volumeMaxExpc, volumeMax);
/ohos5.0/drivers/peripheral/audio/test/systemtest/hdi_service/common/render/src/
H A Daudio_idl_hdirender_volume_test.cpp459 float volumeMax = 1.0; variable
471 ret = render->SetVolume(render, volumeMax);
473 ret = render->GetVolume(render, &volumeMax);
475 EXPECT_EQ(volumeMaxExpc, volumeMax);
/ohos5.0/drivers/peripheral/audio/test/unittest/supportlibs/interface_lib_capture/src/
H A Daudio_alsa_if_lib_capture_test.cpp194 int32_t volumeMax = handleData->captureMode.ctlParam.volThreshold.volMax; variable
196 EXPECT_EQ(capVolMax, volumeMax);
/ohos5.0/drivers/peripheral/audio/test/unittest/supportlibs/interface_lib_render/src/
H A Daudio_alsa_if_lib_render_test.cpp198 int32_t volumeMax = handleData->renderMode.ctlParam.volThreshold.volMax; variable
200 EXPECT_EQ(volMax, volumeMax);