feat(v2): audio page, beat endpoints and an Audio menu button

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>
This commit is contained in:
jimmyandClaude Sonnet 5.5 committed 2026-10-27 22:30:26 +13:00
1 parent d332d447aa
commit f7ac4ab290
7 files changed
+280 -9

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
#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);