Update language to comply with Android's inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference
Bug: 161896447
Change-Id: Iac0b106ef38026b9dc76e906d6df1bdbf627344c
diff --git a/hifi/xaf/hifi-dpf/audio/xa-class-base.c b/hifi/xaf/hifi-dpf/audio/xa-class-base.c
index 0b67255..ef1110e 100644
--- a/hifi/xaf/hifi-dpf/audio/xa-class-base.c
+++ b/hifi/xaf/hifi-dpf/audio/xa-class-base.c
@@ -118,7 +118,7 @@
/* ...scratch memory is shared among all codecs; check its validity */
XF_CHK_ERR(size <= XF_CFG_CODEC_SCRATCHMEM_SIZE, XA_API_FATAL_MEM_ALLOC);
- /* ...make sure alignment is sane */
+ /* ...make sure alignment is valid */
XF_CHK_ERR((XF_CFG_CODEC_SCRATCHMEM_ALIGN & (align - 1)) == 0, XA_API_FATAL_MEM_ALIGN);
/* ...set the scratch memory pointer */
@@ -172,7 +172,7 @@
/* ...calculate total amount of parameters */
n = m->length / sizeof(*param);
- /* ...check the message length is sane */
+ /* ...check the message length is valid */
XF_CHK_ERR(m->length == XF_SET_PARAM_CMD_LEN(n), XA_API_FATAL_INVALID_CMD_TYPE);
/* ...apply all parameters; pass to codec-specific function */
@@ -506,7 +506,7 @@
{
XACodecBase *base;
- /* ...make sure the size is sane */
+ /* ...make sure the size is valid */
XF_CHK_ERR(size >= sizeof(XACodecBase), NULL);
/* ...allocate local memory for codec structure */