summaryrefslogtreecommitdiff
path: root/src/audio/include/stream_event.hpp
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2023-02-21 09:28:36 +1100
committerjacqueline <me@jacqueline.id.au>2023-02-21 09:28:36 +1100
commit12d2ffdab70df573610b81d8a24545da33bb67e3 (patch)
treeeb082a249eab8647c8450dbbd5c320f83b923d6b /src/audio/include/stream_event.hpp
parent644601b636c28cf82281148a392454cdf9e632f9 (diff)
downloadtangara-fw-12d2ffdab70df573610b81d8a24545da33bb67e3.tar.gz
Add logging to the DAC
Diffstat (limited to 'src/audio/include/stream_event.hpp')
-rw-r--r--src/audio/include/stream_event.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/audio/include/stream_event.hpp b/src/audio/include/stream_event.hpp
index e84c8388..d42de411 100644
--- a/src/audio/include/stream_event.hpp
+++ b/src/audio/include/stream_event.hpp
@@ -17,6 +17,7 @@ struct StreamEvent {
-> StreamEvent*;
static auto CreateChunkNotification(QueueHandle_t source) -> StreamEvent*;
static auto CreateEndOfStream(QueueHandle_t source) -> StreamEvent*;
+ static auto CreateLogStatus() -> StreamEvent*;
StreamEvent();
~StreamEvent();
@@ -30,6 +31,7 @@ struct StreamEvent {
CHUNK_DATA,
CHUNK_NOTIFICATION,
END_OF_STREAM,
+ LOG_STATUS,
} tag;
union {