Home
last modified time | relevance | path

Searched refs:volMin (Results 1 - 24 of 24) sorted by relevance

/drivers/peripheral/audio/supportlibs/alsa_adapter/src/
H A Dvendor_render.c59 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 Dvendor_capture.c59 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 Dalsa_lib_render.c206 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 Dalsa_lib_capture.c207 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 Dalsa_snd_render.c788 static int32_t RenderGetVolThresholdImpl(struct AlsaRender *renderIns, long *volMin, long *volMax) in RenderGetVolThresholdImpl() argument
H A Dalsa_snd_capture.c799 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 Daudio_render_interface_impl_base.h50 virtual void SetVolumeRangeInner(const uint32_t volMax, const uint32_t volMin) = 0;
H A Daudio_render_interface_impl.h91 void SetVolumeRangeInner(const uint32_t volMax, const uint32_t volMin) override;
H A Daudio_render_ext_impl.h87 void SetVolumeRangeInner(const uint32_t volMax, const uint32_t volMin) override;
/drivers/peripheral/audio/hdi_service/primary_impl/src/
H A Daudio_render.c540 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 Daudio_capture.c488 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 Daudio_libcapture_hardwaredependence_test.cpp151 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 Daudio_librender_hardwaredependence_test.cpp167 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 Daudio_alsa_if_lib_render_test.cpp26 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 Daudio_render_ext_impl.cpp501 void AudioRenderExtImpl::SetVolumeRangeInner(const uint32_t volMax, const uint32_t volMin) in SetVolumeRangeInner() argument
504 volMin_ = volMin; in SetVolumeRangeInner()
H A Daudio_render_interface_impl.cpp469 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 Daudio_alsa_librender_test.cpp635 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 Daudio_alsa_libcapture_test.cpp550 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 Daudio_internal.h173 int volMin; member
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/include/
H A Daudio_internal.h219 int volMin; member
/drivers/peripheral/audio/hal/hdi_passthrough/include/
H A Daudio_internal.h179 int volMin; member
/drivers/peripheral/audio/test/unittest/supportlibs/interface_lib_capture/src/
H A Daudio_alsa_if_lib_capture_test.cpp193 int32_t volumeMin = handleData->captureMode.ctlParam.volThreshold.volMin; in HWTEST_F()
/drivers/peripheral/audio/supportlibs/adm_adapter/src/
H A Daudio_interface_lib_render.c612 handleData->renderMode.ctlParam.volThreshold.volMin = volThreshold.min; in AudioCtlRenderGetVolThreshold()
H A Daudio_interface_lib_capture.c687 handleData->captureMode.ctlParam.volThreshold.volMin = volThreshold.min; in AudioCtlCaptureGetVolThreshold()

Completed in 23 milliseconds