Record 16 kHz mono PCM to microSD /rec, with level meter and DAC2 playback. Co-authored-by: Cursor <cursoragent@cursor.com>
11 lines
237 B
C
11 lines
237 B
C
#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 */
|