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:
10
include/player.h
Normal file
10
include/player.h
Normal 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 */
|
||||
Reference in New Issue
Block a user