Searched refs:MAX_FLOAT_VOLUME (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/common/src/ |
H A D | oh_audio_buffer.cpp | 282 basicBufferInfo_->streamVolume.store(MAX_FLOAT_VOLUME); in Init() 283 basicBufferInfo_->duckFactor.store(MAX_FLOAT_VOLUME); in Init() 418 … CHECK_AND_RETURN_RET_LOG(basicBufferInfo_ != nullptr, MAX_FLOAT_VOLUME, "buffer is not inited!"); in GetStreamVolume() 423 } else if (vol > MAX_FLOAT_VOLUME) { in GetStreamVolume() 425 return MAX_FLOAT_VOLUME; in GetStreamVolume() 433 if (streamVolume < MIN_FLOAT_VOLUME || streamVolume > MAX_FLOAT_VOLUME) { in SetStreamVolume() 443 … CHECK_AND_RETURN_RET_LOG(basicBufferInfo_ != nullptr, MAX_FLOAT_VOLUME, "buffer is not inited!"); in GetDuckFactor() 448 } else if (factor > MAX_FLOAT_VOLUME) { in GetDuckFactor() 450 return MAX_FLOAT_VOLUME; in GetDuckFactor() 458 if (duckFactor < MIN_FLOAT_VOLUME || duckFactor > MAX_FLOAT_VOLUME) { in SetDuckFactor()
|
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/server/src/ |
H A D | renderer_in_server.cpp | 385 if (!IsVolumeSame(MAX_FLOAT_VOLUME, lowPowerVolume_, AUDIO_VOLOMUE_EPSILON)) { in VolumeHandle() 388 if (!IsVolumeSame(MAX_FLOAT_VOLUME, duckVolume_, AUDIO_VOLOMUE_EPSILON)) { in VolumeHandle() 397 if (!IsVolumeSame(MAX_FLOAT_VOLUME, applyVolume, AUDIO_VOLOMUE_EPSILON) || in VolumeHandle() 961 if (volume < MIN_FLOAT_VOLUME || volume > MAX_FLOAT_VOLUME) { in SetLowPowerVolume() 1300 if (duckFactor < MIN_FLOAT_VOLUME || duckFactor > MAX_FLOAT_VOLUME) { in SetDuckFactor()
|
H A D | pa_renderer_stream_impl.cpp | 1239 if (clientVolume < MIN_FLOAT_VOLUME || clientVolume > MAX_FLOAT_VOLUME) { in SetClientVolume()
|
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/server/include/ |
H A D | renderer_in_server.h | 159 float oldAppliedVolume_ = MAX_FLOAT_VOLUME;
|
/ohos5.0/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiocommon/include/ |
H A D | audio_info.h | 73 const float MAX_FLOAT_VOLUME = 1.0f; variable
|