From ec2e1fd5c6271bdf45ce22b3bb5cd3b690d92d5b Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Sat, 23 Jan 2021 14:25:04 -0500 Subject: increase signal buffers; fix oversample --- source/error.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/error.hpp') diff --git a/source/error.hpp b/source/error.hpp index 699c746..6911792 100644 --- a/source/error.hpp +++ b/source/error.hpp @@ -27,6 +27,10 @@ public: return condition; } + bool hasError() { + return m_index > 0; + } + Error pop() { return m_index == 0 ? Error::None : m_queue[--m_index]; } -- cgit v1.2.3