commit 7414767f3b6e14a1ad66533924fcd59bfa7477ce
parent f9f62b62a9bf80cb314ca72ac3d8039e985ed751
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date: Wed, 22 Sep 2021 22:12:24 +0200
const correctness
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/source/virusLib/microcontroller.cpp b/source/virusLib/microcontroller.cpp
@@ -804,7 +804,7 @@ bool Microcontroller::setState(const std::vector<unsigned char>& _state, const S
return true;
}
-bool Microcontroller::sendMIDItoDSP(uint8_t _a, uint8_t _b, uint8_t _c, bool cancelIfFull)
+bool Microcontroller::sendMIDItoDSP(uint8_t _a, uint8_t _b, uint8_t _c, bool cancelIfFull) const
{
std::lock_guard lock(m_mutex);
diff --git a/source/virusLib/microcontroller.h b/source/virusLib/microcontroller.h
@@ -193,7 +193,7 @@ public:
bool getState(std::vector<unsigned char>& _state, synthLib::StateType _type);
bool setState(const std::vector<unsigned char>& _state, synthLib::StateType _type);
- bool sendMIDItoDSP(uint8_t _a, uint8_t _b, uint8_t _c, bool cancelIfFull);
+ bool sendMIDItoDSP(uint8_t _a, uint8_t _b, uint8_t _c, bool cancelIfFull) const;
void sendPendingMidiEvents(uint32_t _maxOffset);