summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/multimedia/audio/qaudiosink.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/multimedia/audio/qaudiosink.cpp b/src/multimedia/audio/qaudiosink.cpp
index 47d522d2c..4bcf85f9c 100644
--- a/src/multimedia/audio/qaudiosink.cpp
+++ b/src/multimedia/audio/qaudiosink.cpp
@@ -58,8 +58,9 @@ QT_BEGIN_NAMESPACE
If an error occurs, you can fetch the \l{QAudio::Error}{error
type} with the error() function. Please see the QAudio::Error enum
- for a description of the possible errors that are reported. When
- an error is encountered, the state changes to QAudio::StoppedState.
+ for a description of the possible errors that are reported. When
+ QAudio::UnderrunError is encountered, the state changes to QAudio::IdleState,
+ when another error is encountered, the state changes to QAudio::StoppedState.
You can check for errors by connecting to the stateChanged()
signal: