QAudioOutputSelectorControl Class▲
-
Header: QAudioOutputSelectorControl
-
qmake: QT += multimedia
-
Inherits: QMediaControl
-
Inherited By:
-
Group: QAudioOutputSelectorControl is part of multimedia_control
Detailed Description▲
The QAudioOutputSelectorControl class provides descriptions of the audio outputs available on a system and allows one to be selected as the audio output of a media service.
The interface name of QAudioOutputSelectorControl is org.qt-project.qt.audiooutputselectorcontrol/5.0 as defined in QAudioOutputSelectorControl_iid.
See Also▲
See also QMediaService::requestControl()
Member Function Documentation▲
[explicit protected] QAudioOutputSelectorControl::QAudioOutputSelectorControl(QObject *parent = nullptr)▲
Constructs a new audio output selector control with the given parent.
[virtual] QAudioOutputSelectorControl::~QAudioOutputSelectorControl()▲
Destroys an audio output selector control.
[pure virtual] QString QAudioOutputSelectorControl::activeOutput() const▲
void QAudioOutputSelectorControl::activeOutputChanged(const QString &name)▲
Signals that the audio output has changed to name.
[pure virtual] QList<QString> QAudioOutputSelectorControl::availableOutputs() const▲
Returns a list of the names of the available audio outputs.
void QAudioOutputSelectorControl::availableOutputsChanged()▲
Signals that list of available outputs has changed.
[pure virtual] QString QAudioOutputSelectorControl::defaultOutput() const▲
Returns the name of the default audio output.
[pure virtual] QString QAudioOutputSelectorControl::outputDescription(const QString &name) const▲
Returns the description of the output name.
[pure virtual] void QAudioOutputSelectorControl::setActiveOutput(const QString &name)▲
Macro Documentation▲
QAudioOutputSelectorControl_iid▲
org.qt-project.qt.audiooutputselectorcontrol/5.0
Defines the interface name of the QAudioOutputSelectorControl class.