在CamX中,如何限制Camera App能同时打开Camera的数量?
方案
修改:camx\src\core\hal\camxhal3defs.h
/// The maximum number of concurrent devices supported by the HAL
static const UINT32 MaxConcurrentDevices = 16;
MaxConcurrentDevices改成对应想限制的数字即可。
在CamX中,如何限制Camera App能同时打开Camera的数量?
修改:camx\src\core\hal\camxhal3defs.h
/// The maximum number of concurrent devices supported by the HAL
static const UINT32 MaxConcurrentDevices = 16;
MaxConcurrentDevices改成对应想限制的数字即可。