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

Commit 6d609025 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.

CRs-Fixed: 2237328
Change-Id: I5cf1873b9c1d221c90c11433c848e04434feb476
Signed-off-by: default avatarSachin Mohan Gadag <sgadag@codeaurora.org>
parent 31994032
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/* Copyright (c) 2012-2017, The Linux Foundation. All rights reserved.
/* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -36,7 +36,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