/ohos5.0/drivers/peripheral/audio/hdi_service/primary_impl/src/ |
H A D | audio_capture.c | 487 float volMax = (float)hwCapture->captureParam.captureMode.ctlParam.volThreshold.volMax; in AudioCaptureSetVolume() local 507 float volTemp = ((volMax - volMin) / 2) * log10(volume) + volMin; in AudioCaptureSetVolume() 508 if (volTemp < volMin || volTemp > volMax) { in AudioCaptureSetVolume() 553 float volMax = (float)hwCapture->captureParam.captureMode.ctlParam.volThreshold.volMax; in AudioCaptureGetVolume() local 555 if ((volMax - volMin) == 0) { in AudioCaptureGetVolume() 559 volumeTemp = (volumeTemp - volMin) / ((volMax - volMin) / VOLUME_AVERAGE); in AudioCaptureGetVolume()
|
H A D | audio_render.c | 539 float volMax = (float)hwRender->renderParam.renderMode.ctlParam.volThreshold.volMax; in AudioRenderSetVolume() local 558 float volTemp = ((volMax - volMin) / 2) * log10(volume) + volMin; in AudioRenderSetVolume() 559 if (volTemp < volMin || volTemp > volMax) { in AudioRenderSetVolume() 602 float volMax = (float)hwRender->renderParam.renderMode.ctlParam.volThreshold.volMax; in AudioRenderGetVolume() local 604 if ((volMax - volMin) == 0) { in AudioRenderGetVolume() 609 volumeTemp = (volumeTemp - volMin) / ((volMax - volMin) / VOLUME_AVERAGE); in AudioRenderGetVolume()
|
/ohos5.0/drivers/peripheral/audio/supportlibs/alsa_adapter/src/ |
H A D | alsa_lib_capture.c | 206 long volMax = MIN_VOLUME; in AudioCtlCaptureGetVolThreshold() local 214 ret = captureIns->GetVolThreshold(captureIns, &volMin, &volMax); in AudioCtlCaptureGetVolThreshold() 218 handleData->captureMode.ctlParam.volThreshold.volMax = (int)volMax; in AudioCtlCaptureGetVolThreshold()
|
H A D | alsa_lib_render.c | 207 long volMax = MIN_VOLUME; in AudioCtlRenderGetVolThreshold() local 214 ret = renderIns->GetVolThreshold(renderIns, &volMin, &volMax); in AudioCtlRenderGetVolThreshold() 220 handleData->renderMode.ctlParam.volThreshold.volMax = (int)volMax; in AudioCtlRenderGetVolThreshold()
|
H A D | alsa_snd_capture.c | 799 …atic int32_t CaptureGetVolThresholdImpl(struct AlsaCapture *captureIns, long *volMin, long *volMax) in CaptureGetVolThresholdImpl() argument
|
H A D | alsa_snd_render.c | 788 static int32_t RenderGetVolThresholdImpl(struct AlsaRender *renderIns, long *volMin, long *volMax) in RenderGetVolThresholdImpl() argument
|
/ohos5.0/drivers/peripheral/audio/test/systemtest/supportlibs/hardwaredependence/capture/src/ |
H A D | audio_libcapture_hardwaredependence_test.cpp | 150 volumeThresholdValueMax = hwCapture->captureParam.captureMode.ctlParam.volThreshold.volMax; 192 volumeThresholdValueMax = hwCapture->captureParam.captureMode.ctlParam.volThreshold.volMax; 233 volumeThresholdValueMax = hwCapture->captureParam.captureMode.ctlParam.volThreshold.volMax; 264 volumeThresholdValueMax = hwCapture->captureParam.captureMode.ctlParam.volThreshold.volMax;
|
/ohos5.0/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/include/ |
H A D | audio_render_interface_impl_base.h | 50 virtual void SetVolumeRangeInner(const uint32_t volMax, const uint32_t volMin) = 0;
|
H A D | audio_render_ext_impl.h | 87 void SetVolumeRangeInner(const uint32_t volMax, const uint32_t volMin) override;
|
H A D | audio_render_interface_impl.h | 91 void SetVolumeRangeInner(const uint32_t volMax, const uint32_t volMin) override;
|
/ohos5.0/drivers/peripheral/audio/test/systemtest/supportlibs/hardwaredependence/render/src/ |
H A D | audio_librender_hardwaredependence_test.cpp | 166 volumeThresholdValueMaxIn = hwRender->renderParam.renderMode.ctlParam.volThreshold.volMax; 213 volumeThresholdValueMaxIn = hwRender->renderParam.renderMode.ctlParam.volThreshold.volMax; 254 volumeThresholdValueMaxIn = hwRender->renderParam.renderMode.ctlParam.volThreshold.volMax; 287 volumeThresholdValueMaxIn = hwRender->renderParam.renderMode.ctlParam.volThreshold.volMax;
|
/ohos5.0/drivers/peripheral/audio/test/unittest/supportlibs/interface_lib_render/src/ |
H A D | audio_alsa_if_lib_render_test.cpp | 27 constexpr int32_t volMax = 100; variable 198 int32_t volumeMax = handleData->renderMode.ctlParam.volThreshold.volMax; 200 EXPECT_EQ(volMax, volumeMax); 225 EXPECT_LE(vol, volMax);
|
/ohos5.0/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/src/ |
H A D | audio_render_interface_impl.cpp | 471 void AudioRenderInterfaceImpl::SetVolumeRangeInner(const uint32_t volMax, const uint32_t volMin) in SetVolumeRangeInner() argument 475 volMax_ = volMax; in SetVolumeRangeInner()
|
H A D | audio_render_ext_impl.cpp | 501 void AudioRenderExtImpl::SetVolumeRangeInner(const uint32_t volMax, const uint32_t volMin) in SetVolumeRangeInner() argument 505 volMax_ = volMax; in SetVolumeRangeInner()
|
/ohos5.0/drivers/peripheral/audio/test/systemtest/supportlibs/common/capture/src/ |
H A D | audio_alsa_libcapture_test.cpp | 549 volumeThresholdValueMax = hwCapture->captureParam.captureMode.ctlParam.volThreshold.volMax; 582 volumeThresholdValueMax = hwCapture->captureParam.captureMode.ctlParam.volThreshold.volMax; 634 volumeThresholdValueMax = hwCapture->captureParam.captureMode.ctlParam.volThreshold.volMax; 679 volumeThresholdValueMax = hwCapture->captureParam.captureMode.ctlParam.volThreshold.volMax;
|
/ohos5.0/drivers/peripheral/audio/test/systemtest/supportlibs/common/render/src/ |
H A D | audio_alsa_librender_test.cpp | 634 volumeThresholdValueMax = hwRender->renderParam.renderMode.ctlParam.volThreshold.volMax; 666 volumeThresholdValueMax = hwRender->renderParam.renderMode.ctlParam.volThreshold.volMax; 717 volumeThresholdValueMax = hwRender->renderParam.renderMode.ctlParam.volThreshold.volMax; 761 volumeThresholdValueMax = hwRender->renderParam.renderMode.ctlParam.volThreshold.volMax;
|
/ohos5.0/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/include/ |
H A D | audio_internal.h | 220 int volMax; member
|
/ohos5.0/drivers/peripheral/audio/hal/hdi_passthrough/include/ |
H A D | audio_internal.h | 180 int volMax; member
|
/ohos5.0/drivers/peripheral/audio/hdi_service/primary_impl/include/ |
H A D | audio_internal.h | 174 int volMax; member
|
/ohos5.0/drivers/peripheral/audio/test/unittest/supportlibs/interface_lib_capture/src/ |
H A D | audio_alsa_if_lib_capture_test.cpp | 194 int32_t volumeMax = handleData->captureMode.ctlParam.volThreshold.volMax;
|
/ohos5.0/drivers/peripheral/audio/supportlibs/adm_adapter/src/ |
H A D | audio_interface_lib_capture.c | 686 handleData->captureMode.ctlParam.volThreshold.volMax = volThreshold.max; in AudioCtlCaptureGetVolThreshold()
|
H A D | audio_interface_lib_render.c | 611 handleData->renderMode.ctlParam.volThreshold.volMax = volThreshold.max; in AudioCtlRenderGetVolThreshold()
|