From 200de07a95209a55d6019ba87f0abc78d302bf4c Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Mon, 11 Mar 2019 14:19:23 +0100 Subject: New upstream version 2.0.1+repack --- soundin.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'soundin.cpp') diff --git a/soundin.cpp b/soundin.cpp index 3da3bdd0..e08d4527 100644 --- a/soundin.cpp +++ b/soundin.cpp @@ -133,6 +133,12 @@ void SoundInput::handleStateChanged (QAudio::State newState) const Q_EMIT status (tr ("Suspended")); break; +#if QT_VERSION >= QT_VERSION_CHECK (5, 10, 0) + case QAudio::InterruptedState: + Q_EMIT status (tr ("Interrupted")); + break; +#endif + case QAudio::StoppedState: if (audioError ()) { -- cgit v1.2.3