/drivers/peripheral/audio/supportlibs/alsa_adapter/src/ |
H A D | vendor_render.c | 59 static int32_t RenderGetVolThresholdImpl(struct AlsaRender *renderIns, long *volMin, long *volMax)
in RenderGetVolThresholdImpl() argument 62 CHECK_NULL_PTR_RETURN_DEFAULT(volMin);
in RenderGetVolThresholdImpl() 77 *volMin = volMinTmp;
in RenderGetVolThresholdImpl()
|
H A D | vendor_capture.c | 59 static int32_t CaptureGetVolThresholdImpl(struct AlsaCapture *captureIns, long *volMin, long *volMax)
in CaptureGetVolThresholdImpl() argument 62 CHECK_NULL_PTR_RETURN_DEFAULT(volMin);
in CaptureGetVolThresholdImpl() 77 *volMin = volMinTmp;
in CaptureGetVolThresholdImpl()
|
H A D | alsa_lib_render.c | 206 long volMin = MIN_VOLUME; in AudioCtlRenderGetVolThreshold() local 214 ret = renderIns->GetVolThreshold(renderIns, &volMin, &volMax); in AudioCtlRenderGetVolThreshold() 219 handleData->renderMode.ctlParam.volThreshold.volMin = (int)volMin; in AudioCtlRenderGetVolThreshold()
|
H A D | alsa_lib_capture.c | 207 long volMin = MIN_VOLUME; in AudioCtlCaptureGetVolThreshold() local 214 ret = captureIns->GetVolThreshold(captureIns, &volMin, &volMax); in AudioCtlCaptureGetVolThreshold() 219 handleData->captureMode.ctlParam.volThreshold.volMin = (int)volMin; in AudioCtlCaptureGetVolThreshold()
|
H A D | alsa_snd_render.c | 788 static int32_t RenderGetVolThresholdImpl(struct AlsaRender *renderIns, long *volMin, long *volMax)
in RenderGetVolThresholdImpl() argument
|
H A D | alsa_snd_capture.c | 799 static int32_t CaptureGetVolThresholdImpl(struct AlsaCapture *captureIns, long *volMin, long *volMax)
in CaptureGetVolThresholdImpl() argument
|
/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_interface_impl.h | 91 void SetVolumeRangeInner(const uint32_t volMax, const uint32_t volMin) override;
|
H A D | audio_render_ext_impl.h | 87 void SetVolumeRangeInner(const uint32_t volMax, const uint32_t volMin) override;
|
/drivers/peripheral/audio/hdi_service/primary_impl/src/ |
H A D | audio_render.c | 540 float volMin = (float)hwRender->renderParam.renderMode.ctlParam.volThreshold.volMin; in AudioRenderSetVolume() local 558 float volTemp = ((volMax - volMin) / 2) * log10(volume) + volMin; in AudioRenderSetVolume() 559 if (volTemp < volMin || volTemp > volMax) { in AudioRenderSetVolume() 603 float volMin = (float)hwRender->renderParam.renderMode.ctlParam.volThreshold.volMin; in AudioRenderGetVolume() local 604 if ((volMax - volMin) == 0) { in AudioRenderGetVolume() 609 volumeTemp = (volumeTemp - volMin) / ((volMax - volMin) / VOLUME_AVERAG in AudioRenderGetVolume() [all...] |
H A D | audio_capture.c | 488 float volMin = (float)hwCapture->captureParam.captureMode.ctlParam.volThreshold.volMin; in AudioCaptureSetVolume() local 507 float volTemp = ((volMax - volMin) / 2) * log10(volume) + volMin; in AudioCaptureSetVolume() 508 if (volTemp < volMin || volTemp > volMax) { in AudioCaptureSetVolume() 554 float volMin = (float)hwCapture->captureParam.captureMode.ctlParam.volThreshold.volMin; in AudioCaptureGetVolume() local 555 if ((volMax - volMin) == 0) { in AudioCaptureGetVolume() 559 volumeTemp = (volumeTemp - volMin) / ((volMax - volMin) / VOLUME_AVERAG in AudioCaptureGetVolume() [all...] |
/drivers/peripheral/audio/test/systemtest/supportlibs/hardwaredependence/capture/src/ |
H A D | audio_libcapture_hardwaredependence_test.cpp | 151 volumeThresholdValueMin = hwCapture->captureParam.captureMode.ctlParam.volThreshold.volMin;
in HWTEST_F() 193 volumeThresholdValueMin = hwCapture->captureParam.captureMode.ctlParam.volThreshold.volMin;
in HWTEST_F() 234 volumeThresholdValueMin = hwCapture->captureParam.captureMode.ctlParam.volThreshold.volMin;
in HWTEST_F() 265 volumeThresholdValueMin = hwCapture->captureParam.captureMode.ctlParam.volThreshold.volMin;
in HWTEST_F()
|
/drivers/peripheral/audio/test/systemtest/supportlibs/hardwaredependence/render/src/ |
H A D | audio_librender_hardwaredependence_test.cpp | 167 volumeThresholdValueMinIn = hwRender->renderParam.renderMode.ctlParam.volThreshold.volMin;
in HWTEST_F() 214 volumeThresholdValueMinIn = hwRender->renderParam.renderMode.ctlParam.volThreshold.volMin;
in HWTEST_F() 255 volumeThresholdValueMinIn = hwRender->renderParam.renderMode.ctlParam.volThreshold.volMin;
in HWTEST_F() 288 volumeThresholdValueMinIn = hwRender->renderParam.renderMode.ctlParam.volThreshold.volMin;
in HWTEST_F()
|
/drivers/peripheral/audio/test/unittest/supportlibs/interface_lib_render/src/ |
H A D | audio_alsa_if_lib_render_test.cpp | 26 constexpr int32_t volMin = 0; member 197 int32_t volumeMin = handleData->renderMode.ctlParam.volThreshold.volMin; in HWTEST_F() 199 EXPECT_EQ(volMin, volumeMin); in HWTEST_F() 224 EXPECT_GE(vol, volMin); in HWTEST_F()
|
/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/src/ |
H A D | audio_render_ext_impl.cpp | 501 void AudioRenderExtImpl::SetVolumeRangeInner(const uint32_t volMax, const uint32_t volMin) in SetVolumeRangeInner() argument 504 volMin_ = volMin; in SetVolumeRangeInner()
|
H A D | audio_render_interface_impl.cpp | 469 void AudioRenderInterfaceImpl::SetVolumeRangeInner(const uint32_t volMax, const uint32_t volMin) in SetVolumeRangeInner() argument 472 volMin_ = volMin; in SetVolumeRangeInner()
|
/drivers/peripheral/audio/test/systemtest/supportlibs/common/render/src/ |
H A D | audio_alsa_librender_test.cpp | 635 volumeThresholdValueMin = hwRender->renderParam.renderMode.ctlParam.volThreshold.volMin;
in HWTEST_F() 667 volumeThresholdValueMin = hwRender->renderParam.renderMode.ctlParam.volThreshold.volMin;
in HWTEST_F() 718 volumeThresholdValueMin = hwRender->renderParam.renderMode.ctlParam.volThreshold.volMin;
in HWTEST_F() 762 volumeThresholdValueMin = hwRender->renderParam.renderMode.ctlParam.volThreshold.volMin;
in HWTEST_F()
|
/drivers/peripheral/audio/test/systemtest/supportlibs/common/capture/src/ |
H A D | audio_alsa_libcapture_test.cpp | 550 volumeThresholdValueMin = hwCapture->captureParam.captureMode.ctlParam.volThreshold.volMin; in HWTEST_F() 583 volumeThresholdValueMin = hwCapture->captureParam.captureMode.ctlParam.volThreshold.volMin; in HWTEST_F() 635 volumeThresholdValueMin = hwCapture->captureParam.captureMode.ctlParam.volThreshold.volMin; in HWTEST_F() 680 volumeThresholdValueMin = hwCapture->captureParam.captureMode.ctlParam.volThreshold.volMin; in HWTEST_F()
|
/drivers/peripheral/audio/hdi_service/primary_impl/include/ |
H A D | audio_internal.h | 173 int volMin; member
|
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/include/ |
H A D | audio_internal.h | 219 int volMin; member
|
/drivers/peripheral/audio/hal/hdi_passthrough/include/ |
H A D | audio_internal.h | 179 int volMin; member
|
/drivers/peripheral/audio/test/unittest/supportlibs/interface_lib_capture/src/ |
H A D | audio_alsa_if_lib_capture_test.cpp | 193 int32_t volumeMin = handleData->captureMode.ctlParam.volThreshold.volMin; in HWTEST_F()
|
/drivers/peripheral/audio/supportlibs/adm_adapter/src/ |
H A D | audio_interface_lib_render.c | 612 handleData->renderMode.ctlParam.volThreshold.volMin = volThreshold.min; in AudioCtlRenderGetVolThreshold()
|
H A D | audio_interface_lib_capture.c | 687 handleData->captureMode.ctlParam.volThreshold.volMin = volThreshold.min; in AudioCtlCaptureGetVolThreshold()
|