Add INMP441 WAV recorder for CYD 2.8/3.5.

Record 16 kHz mono PCM to microSD /rec, with level meter and DAC2 playback.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-27 21:16:13 +08:00
commit ddff48d05b
33 changed files with 1975 additions and 0 deletions

10
include/player.h Normal file
View File

@@ -0,0 +1,10 @@
#pragma once
#include <stdint.h>
void player_init(void);
bool player_play(const char *path);
void player_stop(void);
bool player_is_playing(void);
const char *player_status(void);
void player_tick(void); /* stream next chunk to DAC */