QAudioInputSelectorControl Class

The QAudioInputSelectorControl class provides an audio input selector media control. More...

Header: #include <QAudioInputSelectorControl>
qmake: QT += multimedia
Inherits: QMediaControl

Public Functions

virtual ~QAudioInputSelectorControl()
virtual QString activeInput() const = 0
virtual QList<QString> availableInputs() const = 0
virtual QString defaultInput() const = 0
virtual QString inputDescription(const QString &name) const = 0
  • 31 public functions inherited from QObject

Public Slots

virtual void setActiveInput(const QString &name) = 0
  • 1 public slot inherited from QObject

Signals

void activeInputChanged(const QString &name)
void availableInputsChanged()

Protected Functions

QAudioInputSelectorControl(QObject *parent = Q_NULLPTR)
  • 9 protected functions inherited from QObject

Macros

Additional Inherited Members

  • 1 property inherited from QObject
  • 11 static public members inherited from QObject

Detailed Description

The QAudioInputSelectorControl class provides an audio input selector media control.

The QAudioInputSelectorControl class provides descriptions of the audio inputs available on a system and allows one to be selected as the audio input of a media service.

The interface name of QAudioInputSelectorControl is org.qt-project.qt.audioinputselectorcontrol/5.0 as defined in QAudioInputSelectorControl_iid.

See also QMediaService::requestControl().

Member Function Documentation

[protected] QAudioInputSelectorControl::QAudioInputSelectorControl(QObject *parent = Q_NULLPTR)

Constructs a new audio input selector control with the given parent.

[virtual] QAudioInputSelectorControl::~QAudioInputSelectorControl()

Destroys an audio input selector control.

[pure virtual] QString QAudioInputSelectorControl::activeInput() const

Returns the name of the currently selected audio input.

See also setActiveInput().

[signal] void QAudioInputSelectorControl::activeInputChanged(const QString &name)

Signals that the audio input has changed to name.

[pure virtual] QList<QString> QAudioInputSelectorControl::availableInputs() const

Returns a list of the names of the available audio inputs.

[signal] void QAudioInputSelectorControl::availableInputsChanged()

Signals that list of available inputs has changed.

[pure virtual] QString QAudioInputSelectorControl::defaultInput() const

Returns the name of the default audio input.

[pure virtual] QString QAudioInputSelectorControl::inputDescription(const QString &name) const

Returns the description of the input name.

[pure virtual slot] void QAudioInputSelectorControl::setActiveInput(const QString &name)

Set the active audio input to name.

See also activeInput().

Macro Documentation

QAudioInputSelectorControl_iid

org.qt-project.qt.audioinputselectorcontrol/5.0

Defines the interface name of the QAudioInputSelectorControl class.

© 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.