Home
last modified time | relevance | path

Searched refs:devCtlHandle (Results 1 – 5 of 5) sorted by relevance

/drivers/peripheral/audio/hdi_service/primary_impl/src/
Daudio_render.c410 if (hwRender->devCtlHandle == NULL) { in AudioRenderSelectScene()
441 hwRender->devCtlHandle, &hwRender->renderParam, AUDIODRV_CTL_IOCTL_SCENESELECT_WRITE); in AudioRenderSelectScene()
461 if (impl->devCtlHandle == NULL) { in AudioRenderSetMute()
475 …int32_t ret = (*pInterfaceLibModeRender)(impl->devCtlHandle, &impl->renderParam, AUDIODRV_CTL_IOCT… in AudioRenderSetMute()
493 if (impl->devCtlHandle == NULL) { in AudioRenderGetMute()
505 … (*pInterfaceLibModeRender)(impl->devCtlHandle, &impl->renderParam, AUDIODRV_CTL_IOCTL_MUTE_READ); in AudioRenderGetMute()
530 if (hwRender->devCtlHandle == NULL) { in AudioRenderSetVolume()
551 …(*pInterfaceLibModeRender)(hwRender->devCtlHandle, &hwRender->renderParam, AUDIODRV_CTL_IOCTL_ELEM… in AudioRenderSetVolume()
567 if (hwRender->devCtlHandle == NULL) { in AudioRenderGetVolume()
579 …(*pInterfaceLibModeRender)(hwRender->devCtlHandle, &hwRender->renderParam, AUDIODRV_CTL_IOCTL_ELEM… in AudioRenderGetVolume()
[all …]
Daudio_capture.c354 if (hwCapture->devCtlHandle == NULL) { in AudioCaptureSelectScene()
386 hwCapture->devCtlHandle, &hwCapture->captureParam, AUDIODRV_CTL_IOCTL_SCENESELECT_CAPTURE); in AudioCaptureSelectScene()
406 if (impl->devCtlHandle == NULL) { in AudioCaptureSetMute()
421 …(*pInterfaceLibModeCapture)(impl->devCtlHandle, &impl->captureParam, AUDIODRV_CTL_IOCTL_MUTE_WRITE… in AudioCaptureSetMute()
439 if (impl->devCtlHandle == NULL) { in AudioCaptureGetMute()
451 …(*pInterfaceLibModeCapture)(impl->devCtlHandle, &impl->captureParam, AUDIODRV_CTL_IOCTL_MUTE_READ_… in AudioCaptureGetMute()
474 if (hwCapture->devCtlHandle == NULL) { in AudioCaptureSetVolume()
501 hwCapture->devCtlHandle, &hwCapture->captureParam, AUDIODRV_CTL_IOCTL_ELEM_WRITE_CAPTURE); in AudioCaptureSetVolume()
518 if (hwCapture->devCtlHandle == NULL) { in AudioCaptureGetVolume()
530 hwCapture->devCtlHandle, &hwCapture->captureParam, AUDIODRV_CTL_IOCTL_ELEM_READ_CAPTURE); in AudioCaptureGetVolume()
[all …]
Daudio_adapter.c399 if (hwRender->devCtlHandle != NULL) { in AudioReleaseRenderHandle()
400 (*pCloseRenderService)(hwRender->devCtlHandle); in AudioReleaseRenderHandle()
401 hwRender->devCtlHandle = NULL; in AudioReleaseRenderHandle()
501 if (hwRender == NULL || hwRender->devDataHandle == NULL || hwRender->devCtlHandle == NULL) { in AudioAdapterBindServiceRender()
521 hwRender->devCtlHandle, &hwRender->renderParam, AUDIODRV_CTL_IOCTL_SCENESELECT_WRITE); in AudioAdapterBindServiceRender()
539 hwRender->devCtlHandle, &hwRender->renderParam, AUDIODRV_CTL_IOCTL_VOL_THRESHOLD_READ); in AudioAdapterBindServiceRender()
569 hwRender->devCtlHandle = (*pBindServiceRender)(CTRL_CMD); in AudioRenderBindService()
570 if (hwRender->devCtlHandle == NULL) { in AudioRenderBindService()
798 if (hwCapture->devCtlHandle != NULL) { in AudioReleaseCaptureHandle()
799 (*pCloseCaptureService)(hwCapture->devCtlHandle); in AudioReleaseCaptureHandle()
[all …]
/drivers/peripheral/audio/hdi_service/primary_impl/include/
Daudio_internal.h264 struct DevHandle *devCtlHandle; // Bind Ctl handle member
303 struct DevHandle *devCtlHandle; // Bind Ctl handle member
/drivers/peripheral/audio/hal/hdi_passthrough/include/
Daudio_internal.h268 struct DevHandle *devCtlHandle; // Bind Ctl handle member
305 struct DevHandle *devCtlHandle; // Bind Ctl handle member