plugins: Oscilloscope & VU Meter: Support USB audio

Also show current mixer frequency in title of VU meter,
and adjust the menu title from "VU Meter Menu" to just
"VU Meter"

Change-Id: I5bf8f55a3c9874618cac939fe32a611ac96f52ff
This commit is contained in:
Christian Soffke 2025-11-23 23:33:19 +01:00
parent 0551c4a780
commit 4095b13d52
4 changed files with 91 additions and 27 deletions

View file

@ -62,6 +62,10 @@
#include "usbstack/usb_hid.h"
#endif
#ifdef USB_ENABLE_AUDIO
#include "usbstack/usb_audio.h"
#endif
#define WRAPPER(_x_) _x_ ## _wrapper
#if (CONFIG_PLATFORM & PLATFORM_HOSTED)
@ -845,6 +849,9 @@ static const struct plugin_api rockbox_api = {
add_playbacklog,
&device_battery_tables,
yesno_pop_confirm,
#ifdef USB_ENABLE_AUDIO
usb_audio_get_playing,
#endif
};
static int plugin_buffer_handle;