Home
last modified time | relevance | path

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

/ohos5.0/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/test/unittest/audio_render_interface/src/
H A Daudio_render_interface_impl_test.cpp718 const uint32_t durationIndex = 5; variable
720 float fadeRate = audioRenderInterfaceImpl_->GetFadeRate(currentIndex, durationIndex);
735 const uint32_t durationIndex = 5; variable
737 float fadeRate = audioRenderInterfaceImpl_->GetFadeRate(currentIndex, durationIndex);
752 const uint32_t durationIndex = 5; variable
754 float fadeRate = audioRenderInterfaceImpl_->GetFadeRate(currentIndex, durationIndex);
/ohos5.0/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/src/
H A Daudio_render_interface_impl.cpp60 float AudioRenderInterfaceImpl::GetFadeRate(uint32_t currentIndex, const uint32_t durationIndex) in GetFadeRate() argument
62 if (currentIndex > durationIndex || durationIndex == 0) { in GetFadeRate()
66 …float fadeRate = static_cast<float>(currentIndex) / durationIndex * DAUDIO_FADE_NORMALIZATION_FACT… in GetFadeRate()
H A Daudio_render_ext_impl.cpp87 float AudioRenderExtImpl::GetFadeRate(uint32_t currentIndex, const uint32_t durationIndex) in GetFadeRate() argument
89 if (currentIndex > durationIndex || durationIndex == 0) { in GetFadeRate()
93 …float fadeRate = static_cast<float>(currentIndex) / durationIndex * DAUDIO_FADE_NORMALIZATION_FACT… in GetFadeRate()
/ohos5.0/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/test/unittest/audio_render_extension/src/
H A Daudio_render_ext_impl_test.cpp139 const uint32_t durationIndex = 5; variable
149 float fadeRate = audioRenderlatencyImpl_->GetFadeRate(currentIndex, durationIndex);
/ohos5.0/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/include/
H A Daudio_render_ext_impl.h96 float GetFadeRate(uint32_t currentIndex, const uint32_t durationIndex);
H A Daudio_render_interface_impl.h100 float GetFadeRate(uint32_t currentIndex, const uint32_t durationIndex);