Restores the live audio section from esp32-eth: /audio page, /audio.wav stream, /beats event feed, POST /tap and /time, and the mic and beat state in /status. The web build adds an Audio entry to the header menu and the mobile dropdown for the v2 copy of index.html only, so the Pi UI is unchanged. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
8 lines
192 B
C
8 lines
192 B
C
#pragma once
|
|
|
|
#include "esp_err.h"
|
|
#include "esp_http_server.h"
|
|
|
|
// Register /audio.wav, /beats, /tap and /time (the page at /audio uses them)
|
|
esp_err_t audio_register(httpd_handle_t server);
|