Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/server/src/
H A Drenderer_in_server.cpp378 float applyVolume = 0.0f; in VolumeHandle() local
380 applyVolume = 0.0f; in VolumeHandle()
382 applyVolume = audioServerBuffer_->GetStreamVolume(); in VolumeHandle()
386 applyVolume *= lowPowerVolume_; in VolumeHandle()
389 applyVolume *= duckVolume_; in VolumeHandle()
393 applyVolume = 0.0f; in VolumeHandle()
397 if (!IsVolumeSame(MAX_FLOAT_VOLUME, applyVolume, AUDIO_VOLOMUE_EPSILON) || in VolumeHandle()
398 !IsVolumeSame(oldAppliedVolume_, applyVolume, AUDIO_VOLOMUE_EPSILON)) { in VolumeHandle()
400 std::to_string(applyVolume)); in VolumeHandle()
402 … ChannelVolumes mapVols = VolumeTools::GetChannelVolumes(channel, oldAppliedVolume_, applyVolume); in VolumeHandle()
[all …]