Doc: Fixed random QDoc warnings
- Fixed \snippet paths - Minor language edits - Removed unnecessary multiple page commands in a single comment block. For example, \fn and \qmlsignal in a single comment block is not allowed. Such instances must be documented in separate comment blocks. Change-Id: I65f4518499e2600c4e1807356d4116c575e48c19 Reviewed-by: Andy Nichols <andy.nichols@digia.com> Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
This commit is contained in:
committed by
The Qt Project
parent
304fdbeeb1
commit
51334d2995
@@ -72,9 +72,9 @@ QT_BEGIN_NAMESPACE
|
||||
needs from the io device. So playing back an audio file is as
|
||||
simple as:
|
||||
|
||||
\snippet doc/src/snippets/multimedia-snippets/audio.cpp Audio output class members
|
||||
\snippet multimedia-snippets/audio.cpp Audio output class members
|
||||
|
||||
\snippet doc/src/snippets/multimedia-snippets/audio.cpp Audio output setup
|
||||
\snippet multimedia-snippets/audio.cpp Audio output setup
|
||||
|
||||
The file will start playing assuming that the audio system and
|
||||
output device support it. If you run out of luck, check what's
|
||||
@@ -82,7 +82,7 @@ QT_BEGIN_NAMESPACE
|
||||
|
||||
After the file has finished playing, we need to stop the device:
|
||||
|
||||
\snippet doc/src/snippets/multimedia-snippets/audio.cpp Audio output state changed
|
||||
\snippet multimedia-snippets/audio.cpp Audio output state changed
|
||||
|
||||
At any given time, the QAudioOutput will be in one of four states:
|
||||
active, suspended, stopped, or idle. These states are described
|
||||
@@ -110,7 +110,7 @@ QT_BEGIN_NAMESPACE
|
||||
You can check for errors by connecting to the stateChanged()
|
||||
signal:
|
||||
|
||||
\snippet doc/src/snippets/multimedia-snippets/audio.cpp Audio output state changed
|
||||
\snippet multimedia-snippets/audio.cpp Audio output state changed
|
||||
|
||||
\sa QAudioInput, QAudioDeviceInfo
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user