Are you trying to check if your mic is working correctly? If you want to use a simulated mic, you can first verify with the ~/example/multimedia/audio/record example. If you pass an array instead of mic recording data, you can skip start_recording and fill the array data directly before starting, then play it back.
I tried using /example/multimedia/audio/record and noticed that the recorded sound has noticeable background noise. How can I troubleshoot? Could it be an issue with the aprc and codec configuration? The gain is -6dB.
The configuration is as follows. If there is no problem on the configuration side, can I use a development board to confirm whether it is my own hardware issue? I fabricated the board myself.