···6565#include "skin_engine/wps_internals.h"
6666#include "open_plugin.h"
67676868+#ifdef USB_ENABLE_AUDIO
6969+#include "usbstack/usb_audio.h"
7070+#endif
7171+6872#define FF_REWIND_MAX_PERCENT 3 /* cap ff/rewind step size at max % of file */
6973 /* 3% of 30min file == 54s step size */
7074#define MIN_FF_REWIND_STEP 500
···713717 */
714718long gui_wps_show(void)
715719{
720720+/* NOTE: if USBAudio ever gets its own DSP channel, this block can go away! */
721721+#ifdef USB_ENABLE_AUDIO
722722+ if (usb_audio_get_active())
723723+ {
724724+ splash(HZ*2, ID2P(LANG_USB_DAC_ACTIVE));
725725+ }
726726+#endif
716727 long button = 0;
717728 bool restore = true;
718729 bool exit = false;
+5-2
apps/playback.c
···29842984static void audio_start_playback(const struct audio_resume_info *resume_info,
29852985 unsigned int flags)
29862986{
29872987-/* NOTE: if USBAudio ever gets its own DSP channel, this block can go away! */
29872987+/*
29882988+ * Refuse to start playback if usb audio is active. See gui_wps_show() for
29892989+ * a splash message to the user.
29902990+ * NOTE: if USBAudio ever gets its own DSP channel, this block can go away!
29912991+ */
29882992#ifdef USB_ENABLE_AUDIO
29892993 if (usb_audio_get_active())
29902994 {
29912991- splash(HZ*2, ID2P(LANG_USB_DAC_ACTIVE));
29922995 queue_reply(&audio_queue, 0);
29932996 return;
29942997 }