From 12f05866cf7dcdd2c24abc8641f454c87abe5aa8 Mon Sep 17 00:00:00 2001 From: lathoub <4082369+lathoub@users.noreply.github.com> Date: Sat, 23 May 2020 20:28:14 +0200 Subject: [PATCH] return mReceiverActiveSensingActive in SensingTimeout Handler return mReceiverActiveSensingActive in SensingTimeout Handler: - true when all is OK and active sensing is received on time - false when active sensing is **not** received on tome --- src/MIDI.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MIDI.hpp b/src/MIDI.hpp index c51e83e..4cd78d5 100644 --- a/src/MIDI.hpp +++ b/src/MIDI.hpp @@ -782,7 +782,7 @@ inline bool MidiInterface::read(Channel inChannel // its up to the handler to send the stop processing messages // (also, no clue what the channel is on which to send them) - mActiveSensingTimeoutCallback(true); + mActiveSensingTimeoutCallback(mReceiverActiveSensingActive); } } #endif @@ -803,7 +803,7 @@ inline bool MidiInterface::read(Channel inChannel { mReceiverActiveSensingActive = true; - mActiveSensingTimeoutCallback(false); + mActiveSensingTimeoutCallback(mReceiverActiveSensingActive); } }