/drivers/peripheral/audio/test/systemtest/supportlibs/hardwaredependence/capture/src/ |
D | audio_libcapture_hardwaredependence_test.cpp | 151 volumeThresholdValueMax = hwCapture->captureParam.captureMode.ctlParam.volThreshold.volMax; 152 volumeThresholdValueMin = hwCapture->captureParam.captureMode.ctlParam.volThreshold.volMin; 154 hwCapture->captureParam.captureMode.ctlParam.volume = volumeThresholdValueMax - 1; 159 volumeValue = hwCapture->captureParam.captureMode.ctlParam.volume; 162 hwCapture->captureParam.captureMode.ctlParam.volume = volumeThresholdValueMin + 1; 167 volumeValue = hwCapture->captureParam.captureMode.ctlParam.volume; 193 volumeThresholdValueMax = hwCapture->captureParam.captureMode.ctlParam.volThreshold.volMax; 194 volumeThresholdValueMin = hwCapture->captureParam.captureMode.ctlParam.volThreshold.volMin; 196 hwCapture->captureParam.captureMode.ctlParam.volume = volumeThresholdValueMin; 201 volumeValue = hwCapture->captureParam.captureMode.ctlParam.volume; [all …]
|
/drivers/peripheral/audio/test/systemtest/supportlibs/hardwaredependence/render/src/ |
D | audio_librender_hardwaredependence_test.cpp | 168 volumeThresholdValueMaxIn = hwRender->renderParam.renderMode.ctlParam.volThreshold.volMax; 169 volumeThresholdValueMinIn = hwRender->renderParam.renderMode.ctlParam.volThreshold.volMin; 171 hwRender->renderParam.renderMode.ctlParam.volume = volumeThresholdValueMaxIn - 1; 176 volumeValue = hwRender->renderParam.renderMode.ctlParam.volume; 179 hwRender->renderParam.renderMode.ctlParam.volume = volumeThresholdValueMinIn + 1; 184 volumeValue = hwRender->renderParam.renderMode.ctlParam.volume; 186 hwRender->renderParam.renderMode.ctlParam.volume = volumeBoundaryValueIn; 191 volumeValue = hwRender->renderParam.renderMode.ctlParam.volume; 215 volumeThresholdValueMaxIn = hwRender->renderParam.renderMode.ctlParam.volThreshold.volMax; 216 volumeThresholdValueMinIn = hwRender->renderParam.renderMode.ctlParam.volThreshold.volMin; [all …]
|
/drivers/peripheral/audio/hdi_service/primary_impl/src/ |
D | audio_capture.c | 127 if (hwCapture->captureParam.captureMode.ctlParam.pause) { in AudioCapturePause() 142 bool pauseStatus = hwCapture->captureParam.captureMode.ctlParam.pause; in AudioCapturePause() 143 hwCapture->captureParam.captureMode.ctlParam.pause = true; in AudioCapturePause() 149 hwCapture->captureParam.captureMode.ctlParam.pause = pauseStatus; in AudioCapturePause() 164 if (!hwCapture->captureParam.captureMode.ctlParam.pause) { in AudioCaptureResume() 179 bool resumeStatus = hwCapture->captureParam.captureMode.ctlParam.pause; in AudioCaptureResume() 180 hwCapture->captureParam.captureMode.ctlParam.pause = false; in AudioCaptureResume() 186 hwCapture->captureParam.captureMode.ctlParam.pause = resumeStatus; in AudioCaptureResume() 417 bool muteStatus = impl->captureParam.captureMode.ctlParam.mute; in AudioCaptureSetMute() 418 impl->captureParam.captureMode.ctlParam.mute = mute; in AudioCaptureSetMute() [all …]
|
D | audio_render.c | 150 hwRender->renderParam.renderMode.ctlParam.turnStandbyStatus = AUDIO_TURN_STANDBY_LATER; in AudioRenderStop() 185 if (hwRender->renderParam.renderMode.ctlParam.pause) { in AudioRenderPause() 200 bool pauseStatus = hwRender->renderParam.renderMode.ctlParam.pause; in AudioRenderPause() 202 hwRender->renderParam.renderMode.ctlParam.pause = true; in AudioRenderPause() 207 hwRender->renderParam.renderMode.ctlParam.pause = pauseStatus; in AudioRenderPause() 222 if (!hwRender->renderParam.renderMode.ctlParam.pause) { in AudioRenderResume() 237 bool resumeStatus = hwRender->renderParam.renderMode.ctlParam.pause; in AudioRenderResume() 239 hwRender->renderParam.renderMode.ctlParam.pause = false; in AudioRenderResume() 244 hwRender->renderParam.renderMode.ctlParam.pause = resumeStatus; in AudioRenderResume() 472 bool muteStatus = impl->renderParam.renderMode.ctlParam.mute; in AudioRenderSetMute() [all …]
|
D | audio_adapter.c | 289 hwRender->renderParam.renderMode.ctlParam.audioGain.gainMax = GAIN_MAX; // init gainMax in InitHwRenderParam() 290 hwRender->renderParam.renderMode.ctlParam.audioGain.gainMin = 0; in InitHwRenderParam() 299 hwRender->renderParam.renderMode.ctlParam.turnStandbyStatus = AUDIO_TURN_STANDBY_LATER; in InitHwRenderParam() 764 hwCapture->captureParam.captureMode.ctlParam.audioGain.gainMax = GAIN_MAX; // init gainMax in InitHwCaptureParam() 765 hwCapture->captureParam.captureMode.ctlParam.audioGain.gainMin = 0; in InitHwCaptureParam()
|
/drivers/peripheral/audio/test/systemtest/supportlibs/common/capture/src/ |
D | audio_alsa_libcapture_test.cpp | 550 volumeThresholdValueMax = hwCapture->captureParam.captureMode.ctlParam.volThreshold.volMax; 551 volumeThresholdValueMin = hwCapture->captureParam.captureMode.ctlParam.volThreshold.volMin; 583 volumeThresholdValueMax = hwCapture->captureParam.captureMode.ctlParam.volThreshold.volMax; 584 volumeThresholdValueMin = hwCapture->captureParam.captureMode.ctlParam.volThreshold.volMin; 586 hwCapture->captureParam.captureMode.ctlParam.volume = volumeThresholdValueMax - 1; 591 volumeValue = hwCapture->captureParam.captureMode.ctlParam.volume; 594 hwCapture->captureParam.captureMode.ctlParam.volume = volumeThresholdValueMin + 1; 599 volumeValue = hwCapture->captureParam.captureMode.ctlParam.volume; 601 hwCapture->captureParam.captureMode.ctlParam.volume = volumeBoundaryValue; 606 volumeValue = hwCapture->captureParam.captureMode.ctlParam.volume; [all …]
|
D | audio_libcapture_test.cpp | 224 hwCapture->captureParam.captureMode.ctlParam.mute = 0; 229 muteValue = hwCapture->captureParam.captureMode.ctlParam.mute; 231 hwCapture->captureParam.captureMode.ctlParam.mute = 1; 236 muteValue = hwCapture->captureParam.captureMode.ctlParam.mute; 260 hwCapture->captureParam.captureMode.ctlParam.mute = 2; 265 muteValue = hwCapture->captureParam.captureMode.ctlParam.mute; 267 hwCapture->captureParam.captureMode.ctlParam.mute = 0; 272 muteValue = hwCapture->captureParam.captureMode.ctlParam.mute; 463 hwCapture->captureParam.captureMode.ctlParam.mute = 0; 519 hwCapture->captureParam.captureMode.ctlParam.pause = 1; [all …]
|
/drivers/peripheral/audio/test/systemtest/supportlibs/common/render/src/ |
D | audio_alsa_librender_test.cpp | 635 volumeThresholdValueMax = hwRender->renderParam.renderMode.ctlParam.volThreshold.volMax; 636 volumeThresholdValueMin = hwRender->renderParam.renderMode.ctlParam.volThreshold.volMin; 667 volumeThresholdValueMax = hwRender->renderParam.renderMode.ctlParam.volThreshold.volMax; 668 volumeThresholdValueMin = hwRender->renderParam.renderMode.ctlParam.volThreshold.volMin; 670 hwRender->renderParam.renderMode.ctlParam.volume = volumeThresholdValueMax - 1; 675 volumeValue = hwRender->renderParam.renderMode.ctlParam.volume; 678 hwRender->renderParam.renderMode.ctlParam.volume = volumeThresholdValueMin + 1; 683 volumeValue = hwRender->renderParam.renderMode.ctlParam.volume; 685 hwRender->renderParam.renderMode.ctlParam.volume = volumeBoundaryValue; 690 volumeValue = hwRender->renderParam.renderMode.ctlParam.volume; [all …]
|
D | audio_librender_test.cpp | 329 hwRender->renderParam.renderMode.ctlParam.mute = 0; 334 muteValue = hwRender->renderParam.renderMode.ctlParam.mute; 336 hwRender->renderParam.renderMode.ctlParam.mute = 1; 341 muteValue = hwRender->renderParam.renderMode.ctlParam.mute; 364 hwRender->renderParam.renderMode.ctlParam.mute = 2; 369 muteValue = hwRender->renderParam.renderMode.ctlParam.mute; 371 hwRender->renderParam.renderMode.ctlParam.mute = 0; 376 muteValue = hwRender->renderParam.renderMode.ctlParam.mute; 585 hwRender->renderParam.renderMode.ctlParam.mute = muteValue; 590 expectedValue = hwRender->renderParam.renderMode.ctlParam.mute; [all …]
|
/drivers/peripheral/audio/test/unittest/supportlibs/interface_lib_capture/src/ |
D | audio_alsa_if_lib_capture_test.cpp | 193 int32_t volumeMin = handleData->captureMode.ctlParam.volThreshold.volMin; 194 int32_t volumeMax = handleData->captureMode.ctlParam.volThreshold.volMax; 219 int32_t vol = (int32_t)handleData->captureMode.ctlParam.volume; 240 handleData->captureMode.ctlParam.volume = setVol; 249 float getVol = handleData->captureMode.ctlParam.volume; 274 mute = handleData->captureMode.ctlParam.mute; 293 handleData->captureMode.ctlParam.mute = true; 302 mute = handleData->captureMode.ctlParam.mute; 304 handleData->captureMode.ctlParam.mute = false; 309 mute = handleData->captureMode.ctlParam.mute; [all …]
|
/drivers/peripheral/audio/test/unittest/supportlibs/interface_lib_render/src/ |
D | audio_alsa_if_lib_render_test.cpp | 197 int32_t volumeMin = handleData->renderMode.ctlParam.volThreshold.volMin; 198 int32_t volumeMax = handleData->renderMode.ctlParam.volThreshold.volMax; 223 int32_t vol = (int32_t)handleData->renderMode.ctlParam.volume; 245 handleData->renderMode.ctlParam.volume = setVol; 254 getVol = handleData->renderMode.ctlParam.volume; 279 mute = handleData->renderMode.ctlParam.mute; 298 handleData->renderMode.ctlParam.mute = true; 307 mute = handleData->renderMode.ctlParam.mute; 309 handleData->renderMode.ctlParam.mute = false; 314 mute = handleData->renderMode.ctlParam.mute; [all …]
|
/drivers/peripheral/audio/supportlibs/adm_adapter/src/ |
D | audio_interface_lib_render.c | 68 elemValue.value[0] = (int32_t)handleData->renderMode.ctlParam.volume; in AudioCtlRenderSetVolumeSBuf() 156 handleData->renderMode.ctlParam.volume = elemValue.value[0]; in AudioCtlRenderGetVolume() 171 elemValue.value[0] = (int32_t)handleData->renderMode.ctlParam.pause; in AudioCtlRenderSetPauseBuf() 202 cmdId = handleData->renderMode.ctlParam.pause ? in AudioCtlRenderSetPauseStu() 226 elemValue.value[0] = (int32_t)handleData->renderMode.ctlParam.mute; in AudioCtlRenderSetMuteBuf() 315 handleData->renderMode.ctlParam.mute = muteValueStu.value[0]; in AudioCtlRenderGetMuteStu() 330 elemValue.value[0] = (int32_t)handleData->renderMode.ctlParam.audioGain.gain; in AudioCtlRenderSetGainBuf() 419 handleData->renderMode.ctlParam.audioGain.gain = gainValueStu.value[0]; in AudioCtlRenderGetGainStu() 566 handleData->renderMode.ctlParam.audioGain.gainMax = gainThreshold.max; in AudioCtlRenderSceneGetGainThreshold() 567 handleData->renderMode.ctlParam.audioGain.gainMin = 0; in AudioCtlRenderSceneGetGainThreshold() [all …]
|
D | audio_interface_lib_capture.c | 120 elemCaptureValue.value[0] = (int32_t)handleData->captureMode.ctlParam.pause; in AudioCtlCaptureSetPauseBuf() 152 cmdId = handleData->captureMode.ctlParam.pause ? in AudioCtlCaptureSetPauseStu() 219 handleData->captureMode.ctlParam.volume = (float)elemValue; in AudioCtlCaptureGetVolume() 235 elemCaptureValue.value[0] = (int32_t)handleData->captureMode.ctlParam.volume; in AudioCtlCaptureSetVolumeSBuf() 284 elemCaptureValue.value[0] = (int32_t)handleData->captureMode.ctlParam.mute; in AudioCtlCaptureSetMuteSBuf() 376 handleData->captureMode.ctlParam.mute = (bool)muteValueStu; in AudioCtlCaptureGetMuteStu() 392 elemCaptureValue.value[0] = handleData->captureMode.ctlParam.audioGain.gain; in AudioCtlCaptureSetGainSBuf() 484 handleData->captureMode.ctlParam.audioGain.gain = (float)muteValueStu; in AudioCtlCaptureGetGainStu() 622 handleData->captureMode.ctlParam.audioGain.gainMax = gainThreshold.max; in AudioCtlCaptureGetGainThreshold() 623 handleData->captureMode.ctlParam.audioGain.gainMin = 0; in AudioCtlCaptureGetGainThreshold() [all …]
|
/drivers/peripheral/audio/supportlibs/alsa_adapter/src/ |
D | alsa_lib_capture.c | 91 …pause = handleData->captureMode.ctlParam.pause ? AUDIO_ALSALIB_IOCTRL_PAUSE : AUDIO_ALSALIB_IOCTRL… in AudioCtlCaptureSetPauseStu() 163 handleData->captureMode.ctlParam.volume = (float)(vol); in AudioCtlCaptureGetVolume() 177 handleData->captureMode.ctlParam.volume = (float)(vol); in AudioCtlCaptureGetVolume() 225 vol = (int32_t)handleData->captureMode.ctlParam.volume; in AudioCtlCaptureSetVolume() 358 …AudioCaptureSetMuteState(cardIns, muteState, adapterName, handleData->captureMode.ctlParam.volume); in AudioCtlCaptureSetMuteStu() 365 cardIns->captureMuteValue = (int32_t)handleData->captureMode.ctlParam.mute; in AudioCtlCaptureSetMuteStu() 386 handleData->captureMode.ctlParam.mute = (bool)cardInstance->captureMuteValue; in AudioCtlCaptureGetMuteStu() 466 handleData->captureMode.ctlParam.volThreshold.volMax = MAX_VOLUME; in AudioCtlCaptureGetVolThreshold() 467 handleData->captureMode.ctlParam.volThreshold.volMin = MIN_VOLUME; in AudioCtlCaptureGetVolThreshold() 476 handleData->captureMode.ctlParam.volThreshold.volMax = (int)volMax; in AudioCtlCaptureGetVolThreshold() [all …]
|
D | alsa_lib_render.c | 162 vol = (long)handleData->renderMode.ctlParam.volume; in AudioCtlRenderSetVolume() 276 handleData->renderMode.ctlParam.volume = (float)vol; in AudioCtlRenderGetVolume() 383 … AudioPrimarySetMuteState(cardIns, muteState, adapterName, handleData->renderMode.ctlParam.volume); in AudioCtlRenderSetMuteStu() 401 cardIns->renderMuteValue = (int32_t)handleData->renderMode.ctlParam.mute; in AudioCtlRenderSetMuteStu() 422 handleData->renderMode.ctlParam.mute = (bool)cardInstance->renderMuteValue; in AudioCtlRenderGetMuteStu() 542 handleData->renderMode.ctlParam.volThreshold.volMin = (int)volMin; in AudioCtlRenderGetVolThreshold() 543 handleData->renderMode.ctlParam.volThreshold.volMax = (int)volMax; in AudioCtlRenderGetVolThreshold() 1048 if (handleData->renderMode.ctlParam.pause) { in AudioOutputRenderWrite()
|
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/ |
D | audio_render.cpp | 93 hwRender->renderParam.renderMode.ctlParam.pause = false; in AudioRenderStop() 107 if (hwRender->renderParam.renderMode.ctlParam.pause) { in AudioRenderPause() 121 hwRender->renderParam.renderMode.ctlParam.pause = true; in AudioRenderPause() 132 if (!hwRender->renderParam.renderMode.ctlParam.pause) { in AudioRenderResume() 144 hwRender->renderParam.renderMode.ctlParam.pause = false; in AudioRenderResume()
|
D | audio_adapter.cpp | 169 hwRender->renderParam.renderMode.ctlParam.audioGain.gainMax = GAIN_MAX; // init gainMax in InitHwRenderParam() 170 hwRender->renderParam.renderMode.ctlParam.audioGain.gainMin = 0; in InitHwRenderParam()
|
/drivers/peripheral/audio/hdi_service/primary_impl/include/ |
D | audio_internal.h | 235 struct AudioCtlParam ctlParam; member 270 struct AudioCtlParam ctlParam; member
|
/drivers/peripheral/audio/hal/hdi_passthrough/include/ |
D | audio_internal.h | 241 struct AudioCtlParam ctlParam; member 274 struct AudioCtlParam ctlParam; member
|
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/include/ |
D | audio_internal.h | 278 struct AudioCtlParam ctlParam; member
|