Skip to content

Commit 59b8d64

Browse files
Jiyun-Yanggmarull
authored andcommitted
fw/drivers/mic/sf32lb52: pdm mic HAL gain ctrl maxmum is 120, otherwise it would be reversed
Signed-off-by: Yang Jiyun <yangjiyun@pro-well.tech>
1 parent b26247c commit 59b8d64

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/fw/drivers/mic/sf32lb52

src/fw/drivers/mic/sf32lb52/pdm.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
#include "FreeRTOS.h"
2929

3030
#define PDM_AUDIO_RECORD_PIPE_SIZE (288)
31-
#define PDM_AUDIO_RECORD_GAIN_DEFAULT (127)
32-
#define PDM_AUDIO_RECORD_GAIN_MAX (127)
31+
#define PDM_AUDIO_RECORD_GAIN_DEFAULT (120)
32+
#define PDM_AUDIO_RECORD_GAIN_MAX (120)
3333

3434
// PDM Configuration
3535
#define PDM_BUFFER_SIZE_SAMPLES (320)

0 commit comments

Comments
 (0)