![NXP Semiconductors SLN-LOCAL2-IOT User Manual Download Page 53](http://html.mh-extra.com/html/nxp-semiconductors/sln-local2-iot/sln-local2-iot_user-manual_1721901053.webp)
Table 12. SLN_DSP_SetGainFactor function description (continued)
Parameter
Data range
Type
Description
memPool
N/A
uint8_t **
Pointer to the memory pool that the
sln_intelligence_toolbox needs.
gainFactor
0x0000-0xffff
int16_t
The shift gain factor before the DC Offset is applied.
A gain of zero means that there is no gain.
Locate the code snippet shown in
and change the numerical value according to your needs, related to the table.
Figure 67. pdm_to_pcm_task.c set gain factor
NXP Semiconductors
Far-field local voice control framework
SLN-LOCAL2-IOT Developer’s Guide, Rev. 0, 19 April 2021
User's Guide
53 / 87