Keep LEDC tones, TF WAV playback, and compact list layout as a tagged baseline. Co-authored-by: Cursor <cursoragent@cursor.com>
13 lines
346 B
C
13 lines
346 B
C
#pragma once
|
|
|
|
#include <Arduino.h>
|
|
#include <stdint.h>
|
|
|
|
void wav_player_init();
|
|
void wav_player_stop();
|
|
bool wav_player_is_playing();
|
|
bool wav_player_play_path(const char *path);
|
|
void wav_player_set_volume(uint8_t percent); // 0-100, maps to SetGain
|
|
void wav_player_tick(); // no-op if task handles; kept for API
|
|
const char *wav_player_status();
|