From e9bd5cce91c80c05c172cc2fcf75711dde976472 Mon Sep 17 00:00:00 2001 From: SPRESENSE <41312067+SPRESENSE@users.noreply.github.com> Date: Thu, 22 Jun 2023 12:49:30 +0900 Subject: [PATCH] examples/audiolite_mp3player: Add log messages This example should display error logs from MP3Decoder. This commit adds them. --- examples/audiolite_mp3player/event_str.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/audiolite_mp3player/event_str.h b/examples/audiolite_mp3player/event_str.h index 42cb3b2a6..1ac30b748 100644 --- a/examples/audiolite_mp3player/event_str.h +++ b/examples/audiolite_mp3player/event_str.h @@ -28,6 +28,8 @@ static const char *convert_evtid(int id) STRINGCASE(MP3DECWORKEREND) STRINGCASE(MP3DECUNKNOWNEVT) STRINGCASE(MP3DECERROR) + STRINGCASE(MP3DEC_WRONGTYPE) + STRINGCASE(MP3DEC_WRONGVER) default: return "not event id..."; }