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 D | audio_manager_vdi.h | 24 #define AUDIO_VDI_STREAM_NUM_MAX 10 macro
|
H A D | audio_common_vdi.h | 24 #define AUDIO_VDI_STREAM_NUM_MAX 10 macro
|
H A D | audio_capture_vdi.c | 41 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 D | audio_render_vdi.c | 44 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 D | audio_adapter_vdi.c | 131 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