mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-06 21:25:03 -05:00
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:
parent
0551c4a780
commit
4095b13d52
4 changed files with 91 additions and 27 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue