Home
last modified time | relevance | path

Searched refs:MAX_AUDIO_STREAM_NUM (Results 1 - 3 of 3) sorted by relevance

/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/src/
H A Daudio_adapter_interface_impl.cpp40 static constexpr uint32_t MAX_AUDIO_STREAM_NUM = 10; member
46 MAX_AUDIO_STREAM_NUM, std::make_pair(0, sptr<AudioRenderInterfaceImplBase>(nullptr))); in AudioAdapterInterfaceImpl()
48 MAX_AUDIO_STREAM_NUM, std::make_pair(0, sptr<AudioCaptureInterfaceImplBase>(nullptr))); in AudioAdapterInterfaceImpl()
49 spkStatus_ = std::vector<bool>(MAX_AUDIO_STREAM_NUM, false); in AudioAdapterInterfaceImpl()
157 renderId = MAX_AUDIO_STREAM_NUM; in CreateRender()
188 if (renderDevs_.size() != MAX_AUDIO_STREAM_NUM) { in InsertRenderImpl()
192 renderId = MAX_AUDIO_STREAM_NUM; in InsertRenderImpl()
193 for (uint32_t i = 0; i < MAX_AUDIO_STREAM_NUM; i++) { in InsertRenderImpl()
208 if (renderId >= MAX_AUDIO_STREAM_NUM) { in DeleteRenderImpl()
318 if (captureDevs_.size() != MAX_AUDIO_STREAM_NUM) { in InsertCapImpl()
[all...]
/drivers/peripheral/audio/hdi_service/primary_impl/src/
H A Daudio_adapter.c585 uint32_t renderId = MAX_AUDIO_STREAM_NUM; in GetAvailableRenderID()
592 if (hwAdapter->infos.renderCnt < MAX_AUDIO_STREAM_NUM) { in GetAvailableRenderID()
596 for (index = 0; index < MAX_AUDIO_STREAM_NUM; index++) { in GetAvailableRenderID()
643 if (*renderId == MAX_AUDIO_STREAM_NUM) { in AudioAdapterCreateRender()
660 if (hwAdapter == NULL || renderId >= MAX_AUDIO_STREAM_NUM) { in AudioAdapterDestroyRender()
959 uint32_t captureId = MAX_AUDIO_STREAM_NUM; in GetAvailableCaptureID()
966 if (hwAdapter->infos.captureCnt < MAX_AUDIO_STREAM_NUM) { in GetAvailableCaptureID()
970 for (index = 0; index < MAX_AUDIO_STREAM_NUM; index++) { in GetAvailableCaptureID()
1015 if (*captureId == MAX_AUDIO_STREAM_NUM) { in AudioAdapterCreateCapture()
1032 if (hwAdapter == NULL || captureId >= MAX_AUDIO_STREAM_NUM) { in AudioAdapterDestroyCapture()
[all...]
/drivers/peripheral/audio/hdi_service/primary_impl/include/
H A Daudio_internal.h58 #define MAX_AUDIO_STREAM_NUM 10 macro
308 struct AudioHwRender *renderServicePtr[MAX_AUDIO_STREAM_NUM];
310 struct AudioHwCapture *captureServicePtr[MAX_AUDIO_STREAM_NUM];

Completed in 5 milliseconds