Home
last modified time | relevance | path

Searched refs:AUDIO_VDI_STREAM_NUM_MAX (Results 1 - 5 of 5) sorted by relevance

/drivers/peripheral/audio/hdi_service/primary_impl/vdi_src/
H A Daudio_manager_vdi.h24 #define AUDIO_VDI_STREAM_NUM_MAX 10 macro
H A Daudio_common_vdi.h24 #define AUDIO_VDI_STREAM_NUM_MAX 10 macro
H A Daudio_capture_vdi.c41 struct AudioCaptureInfo *captureInfos[AUDIO_VDI_STREAM_NUM_MAX];
790 uint32_t captureId = AUDIO_VDI_STREAM_NUM_MAX; in GetAvailableCaptureId()
796 if (capturePriv->captureCnt < AUDIO_VDI_STREAM_NUM_MAX) { in GetAvailableCaptureId()
800 for (uint32_t index = 0; index < AUDIO_VDI_STREAM_NUM_MAX; index++) { in GetAvailableCaptureId()
819 *captureId = AUDIO_VDI_STREAM_NUM_MAX; in AudioCreateCaptureByIdVdi()
824 if (*captureId >= AUDIO_VDI_STREAM_NUM_MAX) { in AudioCreateCaptureByIdVdi()
861 if (captureId >= AUDIO_VDI_STREAM_NUM_MAX) { in DecreaseCaptureUsrCount()
878 if (captureId >= AUDIO_VDI_STREAM_NUM_MAX) { in AudioDestroyCaptureByIdVdi()
H A Daudio_render_vdi.c44 struct AudioRenderInfo *renderInfos[AUDIO_VDI_STREAM_NUM_MAX];
933 for (index = 0; index < AUDIO_VDI_STREAM_NUM_MAX; index++) { in FindRenderCreated()
958 uint32_t renderId = AUDIO_VDI_STREAM_NUM_MAX; in GetAvailableRenderId()
964 if (renderPriv->renderCnt < AUDIO_VDI_STREAM_NUM_MAX) { in GetAvailableRenderId()
968 for (uint32_t index = 0; index < AUDIO_VDI_STREAM_NUM_MAX; index++) { in GetAvailableRenderId()
988 *renderId = AUDIO_VDI_STREAM_NUM_MAX; in AudioCreateRenderByIdVdi()
992 if (*renderId >= AUDIO_VDI_STREAM_NUM_MAX) { in AudioCreateRenderByIdVdi()
1037 if (renderId >= AUDIO_VDI_STREAM_NUM_MAX) { in DecreaseRenderUsrCount()
1054 if (renderId >= AUDIO_VDI_STREAM_NUM_MAX) { in AudioDestroyRenderByIdVdi()
H A Daudio_adapter_vdi.c131 CHECK_VALID_RANGE_RETURN(*renderId, 0, AUDIO_VDI_STREAM_NUM_MAX - 1, HDF_ERR_INVALID_PARAM); in VerifyParamsOfAudioCreateRenderVdi()
202 CHECK_VALID_RANGE_RETURN(renderId, 0, AUDIO_VDI_STREAM_NUM_MAX - 1, HDF_ERR_INVALID_PARAM); in AudioDestroyRenderVdi()
242 CHECK_VALID_RANGE_RETURN(*captureId, 0, AUDIO_VDI_STREAM_NUM_MAX - 1, HDF_ERR_INVALID_PARAM); in AudioCreateCaptureVdi()
288 CHECK_VALID_RANGE_RETURN(captureId, 0, AUDIO_VDI_STREAM_NUM_MAX - 1, HDF_ERR_INVALID_PARAM); in AudioDestroyCaptureVdi()

Completed in 6 milliseconds