Home
last modified time | relevance | path

Searched refs:ctlParam (Results 1 - 20 of 20) sorted by relevance

/drivers/peripheral/audio/test/systemtest/supportlibs/hardwaredependence/capture/src/
H A Daudio_libcapture_hardwaredependence_test.cpp150 volumeThresholdValueMax = hwCapture->captureParam.captureMode.ctlParam.volThreshold.volMax; in HWTEST_F()
151 volumeThresholdValueMin = hwCapture->captureParam.captureMode.ctlParam.volThreshold.volMin; in HWTEST_F()
153 hwCapture->captureParam.captureMode.ctlParam.volume = volumeThresholdValueMax - 1; in HWTEST_F()
158 volumeValue = hwCapture->captureParam.captureMode.ctlParam.volume; in HWTEST_F()
161 hwCapture->captureParam.captureMode.ctlParam.volume = volumeThresholdValueMin + 1; in HWTEST_F()
166 volumeValue = hwCapture->captureParam.captureMode.ctlParam.volume; in HWTEST_F()
192 volumeThresholdValueMax = hwCapture->captureParam.captureMode.ctlParam.volThreshold.volMax; in HWTEST_F()
193 volumeThresholdValueMin = hwCapture->captureParam.captureMode.ctlParam.volThreshold.volMin; in HWTEST_F()
195 hwCapture->captureParam.captureMode.ctlParam.volume = volumeThresholdValueMin; in HWTEST_F()
200 volumeValue = hwCapture->captureParam.captureMode.ctlParam in HWTEST_F()
[all...]
/drivers/peripheral/audio/test/systemtest/supportlibs/hardwaredependence/render/src/
H A Daudio_librender_hardwaredependence_test.cpp166 volumeThresholdValueMaxIn = hwRender->renderParam.renderMode.ctlParam.volThreshold.volMax; in HWTEST_F()
167 volumeThresholdValueMinIn = hwRender->renderParam.renderMode.ctlParam.volThreshold.volMin; in HWTEST_F()
169 hwRender->renderParam.renderMode.ctlParam.volume = volumeThresholdValueMaxIn - 1; in HWTEST_F()
174 volumeValue = hwRender->renderParam.renderMode.ctlParam.volume; in HWTEST_F()
177 hwRender->renderParam.renderMode.ctlParam.volume = volumeThresholdValueMinIn + 1; in HWTEST_F()
182 volumeValue = hwRender->renderParam.renderMode.ctlParam.volume; in HWTEST_F()
184 hwRender->renderParam.renderMode.ctlParam.volume = volumeBoundaryValueIn; in HWTEST_F()
189 volumeValue = hwRender->renderParam.renderMode.ctlParam.volume; in HWTEST_F()
213 volumeThresholdValueMaxIn = hwRender->renderParam.renderMode.ctlParam.volThreshold.volMax; in HWTEST_F()
214 volumeThresholdValueMinIn = hwRender->renderParam.renderMode.ctlParam in HWTEST_F()
[all...]
/drivers/peripheral/audio/hdi_service/primary_impl/src/
H A Daudio_render.c152 hwRender->renderParam.renderMode.ctlParam.turnStandbyStatus = AUDIO_TURN_STANDBY_LATER; in AudioRenderStop()
188 if (hwRender->renderParam.renderMode.ctlParam.pause) { in AudioRenderPause()
203 bool pauseStatus = hwRender->renderParam.renderMode.ctlParam.pause; in AudioRenderPause()
205 hwRender->renderParam.renderMode.ctlParam.pause = true; in AudioRenderPause()
210 hwRender->renderParam.renderMode.ctlParam.pause = pauseStatus; in AudioRenderPause()
226 if (!hwRender->renderParam.renderMode.ctlParam.pause) { in AudioRenderResume()
241 bool resumeStatus = hwRender->renderParam.renderMode.ctlParam.pause; in AudioRenderResume()
243 hwRender->renderParam.renderMode.ctlParam.pause = false; in AudioRenderResume()
248 hwRender->renderParam.renderMode.ctlParam.pause = resumeStatus; in AudioRenderResume()
485 bool muteStatus = impl->renderParam.renderMode.ctlParam in AudioRenderSetMute()
[all...]
H A Daudio_capture.c130 if (hwCapture->captureParam.captureMode.ctlParam.pause) { in AudioCapturePause()
145 bool pauseStatus = hwCapture->captureParam.captureMode.ctlParam.pause; in AudioCapturePause()
146 hwCapture->captureParam.captureMode.ctlParam.pause = true; in AudioCapturePause()
152 hwCapture->captureParam.captureMode.ctlParam.pause = pauseStatus; in AudioCapturePause()
168 if (!hwCapture->captureParam.captureMode.ctlParam.pause) { in AudioCaptureResume()
183 bool resumeStatus = hwCapture->captureParam.captureMode.ctlParam.pause; in AudioCaptureResume()
184 hwCapture->captureParam.captureMode.ctlParam.pause = false; in AudioCaptureResume()
190 hwCapture->captureParam.captureMode.ctlParam.pause = resumeStatus; in AudioCaptureResume()
430 bool muteStatus = impl->captureParam.captureMode.ctlParam.mute; in AudioCaptureSetMute()
431 impl->captureParam.captureMode.ctlParam in AudioCaptureSetMute()
[all...]
H A Daudio_adapter.c289 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()
767 hwCapture->captureParam.captureMode.ctlParam.audioGain.gainMax = GAIN_MAX; // init gainMax in InitHwCaptureParam()
768 hwCapture->captureParam.captureMode.ctlParam.audioGain.gainMin = 0; in InitHwCaptureParam()
/drivers/peripheral/audio/test/systemtest/supportlibs/common/capture/src/
H A Daudio_alsa_libcapture_test.cpp549 volumeThresholdValueMax = hwCapture->captureParam.captureMode.ctlParam.volThreshold.volMax; in HWTEST_F()
550 volumeThresholdValueMin = hwCapture->captureParam.captureMode.ctlParam.volThreshold.volMin; in HWTEST_F()
582 volumeThresholdValueMax = hwCapture->captureParam.captureMode.ctlParam.volThreshold.volMax; in HWTEST_F()
583 volumeThresholdValueMin = hwCapture->captureParam.captureMode.ctlParam.volThreshold.volMin; in HWTEST_F()
585 hwCapture->captureParam.captureMode.ctlParam.volume = volumeThresholdValueMax - 1; in HWTEST_F()
590 volumeValue = hwCapture->captureParam.captureMode.ctlParam.volume; in HWTEST_F()
593 hwCapture->captureParam.captureMode.ctlParam.volume = volumeThresholdValueMin + 1; in HWTEST_F()
598 volumeValue = hwCapture->captureParam.captureMode.ctlParam.volume; in HWTEST_F()
600 hwCapture->captureParam.captureMode.ctlParam.volume = volumeBoundaryValue; in HWTEST_F()
605 volumeValue = hwCapture->captureParam.captureMode.ctlParam in HWTEST_F()
[all...]
H A Daudio_libcapture_test.cpp224 hwCapture->captureParam.captureMode.ctlParam.mute = 0; in HWTEST_F()
229 muteValue = hwCapture->captureParam.captureMode.ctlParam.mute; in HWTEST_F()
231 hwCapture->captureParam.captureMode.ctlParam.mute = 1; in HWTEST_F()
236 muteValue = hwCapture->captureParam.captureMode.ctlParam.mute; in HWTEST_F()
260 hwCapture->captureParam.captureMode.ctlParam.mute = 2; in HWTEST_F()
265 muteValue = hwCapture->captureParam.captureMode.ctlParam.mute; in HWTEST_F()
267 hwCapture->captureParam.captureMode.ctlParam.mute = 0; in HWTEST_F()
272 muteValue = hwCapture->captureParam.captureMode.ctlParam.mute; in HWTEST_F()
463 hwCapture->captureParam.captureMode.ctlParam.mute = 0; in HWTEST_F()
519 hwCapture->captureParam.captureMode.ctlParam in HWTEST_F()
[all...]
/drivers/peripheral/audio/test/systemtest/supportlibs/common/render/src/
H A Daudio_alsa_librender_test.cpp634 volumeThresholdValueMax = hwRender->renderParam.renderMode.ctlParam.volThreshold.volMax; in HWTEST_F()
635 volumeThresholdValueMin = hwRender->renderParam.renderMode.ctlParam.volThreshold.volMin; in HWTEST_F()
666 volumeThresholdValueMax = hwRender->renderParam.renderMode.ctlParam.volThreshold.volMax; in HWTEST_F()
667 volumeThresholdValueMin = hwRender->renderParam.renderMode.ctlParam.volThreshold.volMin; in HWTEST_F()
669 hwRender->renderParam.renderMode.ctlParam.volume = volumeThresholdValueMax - 1; in HWTEST_F()
674 volumeValue = hwRender->renderParam.renderMode.ctlParam.volume; in HWTEST_F()
677 hwRender->renderParam.renderMode.ctlParam.volume = volumeThresholdValueMin + 1; in HWTEST_F()
682 volumeValue = hwRender->renderParam.renderMode.ctlParam.volume; in HWTEST_F()
684 hwRender->renderParam.renderMode.ctlParam.volume = volumeBoundaryValue; in HWTEST_F()
689 volumeValue = hwRender->renderParam.renderMode.ctlParam in HWTEST_F()
[all...]
H A Daudio_librender_test.cpp329 hwRender->renderParam.renderMode.ctlParam.mute = 0; in HWTEST_F()
334 muteValue = hwRender->renderParam.renderMode.ctlParam.mute; in HWTEST_F()
336 hwRender->renderParam.renderMode.ctlParam.mute = 1; in HWTEST_F()
341 muteValue = hwRender->renderParam.renderMode.ctlParam.mute; in HWTEST_F()
364 hwRender->renderParam.renderMode.ctlParam.mute = 2; in HWTEST_F()
369 muteValue = hwRender->renderParam.renderMode.ctlParam.mute; in HWTEST_F()
371 hwRender->renderParam.renderMode.ctlParam.mute = 0; in HWTEST_F()
376 muteValue = hwRender->renderParam.renderMode.ctlParam.mute; in HWTEST_F()
585 hwRender->renderParam.renderMode.ctlParam.mute = muteValue; in HWTEST_F()
590 expectedValue = hwRender->renderParam.renderMode.ctlParam in HWTEST_F()
[all...]
/drivers/peripheral/audio/supportlibs/alsa_adapter/src/
H A Dalsa_lib_render.c31 vol = (long)handleData->renderMode.ctlParam.volume; in AudioCtlRenderSetVolume()
57 handleData->renderMode.ctlParam.volume = (float)vol; in AudioCtlRenderGetVolume()
72 ret = renderIns->SetPauseState(renderIns, handleData->renderMode.ctlParam.pause); in AudioCtlRenderSetPauseStu()
91 ret = renderIns->SetMute(renderIns, handleData->renderMode.ctlParam.mute); in AudioCtlRenderSetMuteStu()
108 handleData->renderMode.ctlParam.mute = renderIns->GetMute(renderIns); in AudioCtlRenderGetMuteStu()
124 gainValue = handleData->renderMode.ctlParam.audioGain.gain; in AudioCtlRenderSetGainStu()
150 handleData->renderMode.ctlParam.audioGain.gain = gainValue; in AudioCtlRenderGetGainStu()
196 handleData->renderMode.ctlParam.audioGain.gainMin = gainMin; in AudioCtlRenderSceneGetGainThreshold()
197 handleData->renderMode.ctlParam.audioGain.gainMax = gainMax; in AudioCtlRenderSceneGetGainThreshold()
219 handleData->renderMode.ctlParam in AudioCtlRenderGetVolThreshold()
[all...]
H A Dalsa_lib_capture.c30 ret = captureIns->SetPauseState(captureIns, handleData->captureMode.ctlParam.pause); in AudioCtlCaptureSetPauseStu()
55 handleData->captureMode.ctlParam.volume = (float)vol; in AudioCtlCaptureGetVolume()
71 vol = (long)handleData->captureMode.ctlParam.volume; in AudioCtlCaptureSetVolume()
91 ret = captureIns->SetMute(captureIns, handleData->captureMode.ctlParam.mute); in AudioCtlCaptureSetMuteStu()
108 handleData->captureMode.ctlParam.mute = captureIns->GetMute(captureIns); in AudioCtlCaptureGetMuteStu()
124 gainValue = handleData->captureMode.ctlParam.audioGain.gain; in AudioCtlCaptureSetGainStu()
150 handleData->captureMode.ctlParam.audioGain.gain = gainValue; in AudioCtlCaptureGetGainStu()
196 handleData->captureMode.ctlParam.audioGain.gainMin = gainMin; in AudioCtlCaptureGetGainThreshold()
197 handleData->captureMode.ctlParam.audioGain.gainMax = gainMax; in AudioCtlCaptureGetGainThreshold()
218 handleData->captureMode.ctlParam in AudioCtlCaptureGetVolThreshold()
[all...]
/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()
194 int32_t volumeMax = handleData->captureMode.ctlParam.volThreshold.volMax; in HWTEST_F()
219 int32_t vol = (int32_t)handleData->captureMode.ctlParam.volume; in HWTEST_F()
240 handleData->captureMode.ctlParam.volume = setVol; in HWTEST_F()
249 float getVol = handleData->captureMode.ctlParam.volume; in HWTEST_F()
274 mute = handleData->captureMode.ctlParam.mute; in HWTEST_F()
293 handleData->captureMode.ctlParam.mute = true; in HWTEST_F()
302 mute = handleData->captureMode.ctlParam.mute; in HWTEST_F()
304 handleData->captureMode.ctlParam.mute = false; in HWTEST_F()
309 mute = handleData->captureMode.ctlParam in HWTEST_F()
[all...]
/drivers/peripheral/audio/test/unittest/supportlibs/interface_lib_render/src/
H A Daudio_alsa_if_lib_render_test.cpp197 int32_t volumeMin = handleData->renderMode.ctlParam.volThreshold.volMin; in HWTEST_F()
198 int32_t volumeMax = handleData->renderMode.ctlParam.volThreshold.volMax; in HWTEST_F()
223 int32_t vol = (int32_t)handleData->renderMode.ctlParam.volume; in HWTEST_F()
245 handleData->renderMode.ctlParam.volume = setVol; in HWTEST_F()
254 getVol = handleData->renderMode.ctlParam.volume; in HWTEST_F()
279 mute = handleData->renderMode.ctlParam.mute; in HWTEST_F()
298 handleData->renderMode.ctlParam.mute = true; in HWTEST_F()
307 mute = handleData->renderMode.ctlParam.mute; in HWTEST_F()
309 handleData->renderMode.ctlParam.mute = false; in HWTEST_F()
314 mute = handleData->renderMode.ctlParam in HWTEST_F()
[all...]
/drivers/peripheral/audio/supportlibs/adm_adapter/src/
H A Daudio_interface_lib_render.c68 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 in AudioCtlRenderSceneGetGainThreshold()
[all...]
H A Daudio_interface_lib_capture.c120 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 in AudioCtlCaptureGetGainThreshold()
[all...]
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/
H A Daudio_render.cpp94 hwRender->renderParam.renderMode.ctlParam.pause = false; in AudioRenderStop()
108 if (hwRender->renderParam.renderMode.ctlParam.pause) { in AudioRenderPause()
122 hwRender->renderParam.renderMode.ctlParam.pause = true; in AudioRenderPause()
133 if (!hwRender->renderParam.renderMode.ctlParam.pause) { in AudioRenderResume()
145 hwRender->renderParam.renderMode.ctlParam.pause = false; in AudioRenderResume()
H A Daudio_adapter.cpp217 hwRender->renderParam.renderMode.ctlParam.audioGain.gainMax = GAIN_MAX; // init gainMax in InitHwRenderParam()
218 hwRender->renderParam.renderMode.ctlParam.audioGain.gainMin = 0; in InitHwRenderParam()
/drivers/peripheral/audio/hdi_service/primary_impl/include/
H A Daudio_internal.h235 struct AudioCtlParam ctlParam; member
270 struct AudioCtlParam ctlParam; member
/drivers/peripheral/audio/hal/hdi_passthrough/include/
H A Daudio_internal.h241 struct AudioCtlParam ctlParam; member
274 struct AudioCtlParam ctlParam; member
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/include/
H A Daudio_internal.h278 struct AudioCtlParam ctlParam; member

Completed in 22 milliseconds