summaryrefslogtreecommitdiff
path: root/soundin.cpp
diff options
context:
space:
mode:
authorChristoph Berg <christoph.berg@credativ.de>2019-03-11 14:19:23 +0100
committerChristoph Berg <christoph.berg@credativ.de>2019-03-11 14:19:23 +0100
commit200de07a95209a55d6019ba87f0abc78d302bf4c (patch)
tree3b2922eb5d89b01ad214cae492e871c3bfb5df18 /soundin.cpp
parente0737c56c1e384e05064a0c6e1ac46979371041b (diff)
New upstream version 2.0.1+repackupstream/2.0.1+repack
Diffstat (limited to 'soundin.cpp')
-rw-r--r--soundin.cpp6
1 files changed, 6 insertions, 0 deletions
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 ())
{