summaryrefslogtreecommitdiffstats
path: root/src/multimedia/audio/qaudioinput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/multimedia/audio/qaudioinput.cpp')
-rw-r--r--src/multimedia/audio/qaudioinput.cpp36
1 files changed, 20 insertions, 16 deletions
diff --git a/src/multimedia/audio/qaudioinput.cpp b/src/multimedia/audio/qaudioinput.cpp
index e257e8f3f..431e2a871 100644
--- a/src/multimedia/audio/qaudioinput.cpp
+++ b/src/multimedia/audio/qaudioinput.cpp
@@ -45,45 +45,49 @@
/*!
\class QAudioInput
- \brief The QAudioOutput class represents an input channel for audio.
+ \brief Represents an input channel for audio.
\inmodule QtMultimedia
\ingroup multimedia
\ingroup multimedia_audio
- QAudioOutput represents an output channel that can be used together QMediaCaptureSession.
- It allows selecting the physical input device to be used, muting the channel
- or changing its volume.
+ This class represents an input channel that can be used together with
+ QMediaCaptureSession. It enables the selection of the physical input device
+ to be used, muting the channel, and changing the channel's volume.
*/
/*!
\property QAudioInput::volume
- \brief the current volume.
+ \brief The current volume.
- The volume is scaled linearly, ranging from \c 0 (silence) to \c 1 (full volume).
- Values outside this range will be clamped.
+ The volume is scaled linearly, ranging from \c 0 (silence) to \c 1
+ (full volume).
+ \note values outside this range will be clamped.
By default the volume is \c 1.
- UI volume controls should usually be scaled nonlinearly. For example, using a logarithmic scale
- will produce linear changes in perceived loudness, which is what a user would normally expect
- from a volume control. See QAudio::convertVolume() for more details.
+ UI volume controls should usually be scaled non-linearly. For example,
+ using a logarithmic scale will produce linear changes in perceived loudness,
+ which is what a user would normally expect from a volume control.
+ \sa QAudio::convertVolume()
*/
/*!
\property QAudioInput::muted
- \brief the muted state of the current media.
+ \brief The muted state of the current media.
- The value will be true if the input is muted; otherwise false.
+ The value will be \c true if the input is muted; otherwise \c false.
*/
/*!
\property QAudioInput::device
- \brief the audio device connected to this input.
+ \brief The audio device connected to this input.
- The device property represents the audio device connected to this input. A default constructed
- QAudioInput object will be connected to the systems default audio input at construction time.
+ The device property represents the audio device connected to this input. A
+ default constructed QAudioInput object will be connected to the system's
+ default audio input at construction time.
- This property can be used to select any other output device listed by QMediaDevices::audioInputs().
+ This property can be used to select any other input device listed by
+ QMediaDevices::audioInputs().
*/
QAudioInput::QAudioInput(QObject *parent)