Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9e16937a authored by Sachin Mohan Gadag's avatar Sachin Mohan Gadag Committed by Gerrit - the friendly Code Review server
Browse files

rtac: Reduce RTAC buffer size



Currently RTAC buffer size is 163k which is uint32_t max, but
dsp expects buffer size of max of uint16_t for get_param_data_V5 api.
Hence reduce size to 57344 which is highest unsigned 2byte (0xE000)
integer and multiple of 8192.

Change-Id: I7e866a537fd39ffd43eb4e4e6b82e3d4dffad74d
Signed-off-by: default avatarSachin Mohan Gadag <sgadag@codeaurora.org>
parent 96075dda
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@
#define MAX_PAYLOAD_SIZE		4076
#define RTAC_MAX_ACTIVE_VOICE_COMBOS	2
#define RTAC_MAX_ACTIVE_POPP		8
#define RTAC_BUF_SIZE			163840
#define RTAC_BUF_SIZE			57344

#define TIMEOUT_MS	1000