sound: abox: Bump buffer sizes up

I'm not sure if this will help, but the idea is to give the codec more room for error, since currently there is audio crackling under moderate CPU load.

Signed-off-by: Nahuel Gómez <nahuelgomez329@gmail.com>
This commit is contained in:
Nahuel Gómez 2024-11-07 21:01:00 -03:00 committed by Ksawlii
parent ee9eb5ecb8
commit 50b38430ba

View file

@ -28,9 +28,9 @@
#define DEFAULT_MIF_FREQ_ID DEFAULT_CPU_GEAR_ID
#define DEFAULT_SYS_POWER_ID DEFAULT_CPU_GEAR_ID
#define BUFFER_BYTES_MIN (SZ_64K)
#define BUFFER_BYTES_MIN (SZ_512K)
#define BUFFER_BYTES_MAX (SZ_1M)
#define PERIOD_BYTES_MIN (SZ_16)
#define PERIOD_BYTES_MIN (SZ_64)
#define PERIOD_BYTES_MAX (BUFFER_BYTES_MAX / 2)
#define SRAM_FIRMWARE_SIZE CONFIG_SND_SOC_SAMSUNG_ABOX_SRAM_SIZE
@ -95,7 +95,7 @@
| SNDRV_PCM_FMTBIT_S32)
#define ABOX_SUPPLEMENT_SIZE (SZ_128)
#define ABOX_IPC_QUEUE_SIZE (SZ_128)
#define ABOX_IPC_QUEUE_SIZE (SZ_64)
#define CALLIOPE_VERSION(class, year, month, minor) \
((class << 24) | \