nuttx/audio: add offload buffer size config

Signed-off-by: jinxiuxu <jinxiuxu@xiaomi.com>
This commit is contained in:
jinxiuxu
2024-04-11 15:45:28 +08:00
committed by Xiang Xiao
parent 31fe15b6e0
commit 45d41af6db
2 changed files with 24 additions and 0 deletions
+18
View File
@@ -319,6 +319,24 @@ endchoice
endif
config SIM_OFFLOAD_NUM_BUFFERS
int "Number of offload buffers for audio processing"
default 2
---help---
Specifies the number of offload buffers to allocate for audio processing.
If Driver Specified buffer sizes is enabled (below), then the
low-level drivers will have the opportunity to override this
value.
config SIM_OFFLOAD_BUFFER_NUMBYTES
int "Size of each offload buffer for audio processing"
default 32767
---help---
Specifies the allocation size for each offload buffer
If Driver Specified buffer sizes is enabled (below), then the
low-level drivers will have the opportunity to override this
value.
config SIM_CAMERA
bool "Simulated video support"
depends on VIDEO