QAudioInputSelectorControl Class

The QAudioInputSelectorControl class provides an audio input selector media control. 更多...

头: #include <QAudioInputSelectorControl>
qmake: QT += multimedia
继承: QMediaControl

公共函数

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

公共槽

virtual void setActiveInput (const QString & name ) = 0

信号

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

保护函数

QAudioInputSelectorControl (QObject * parent = Q_NULLPTR)

QAudioInputSelectorControl_iid

额外继承成员

详细描述

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.

接口名称对于 QAudioInputSelectorControl is org.qt-project.qt.audioinputselectorcontrol/5.0 作为定义在 QAudioInputSelectorControl_iid .

另请参阅 QMediaService::requestControl ().

成员函数文档编制

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

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

[虚拟] QAudioInputSelectorControl:: ~QAudioInputSelectorControl ()

Destroys an audio input selector control.

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

Returns the name of the currently selected audio input.

另请参阅 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 .

另请参阅 activeInput ().

宏文档编制

QAudioInputSelectorControl_iid

org.qt-project.qt.audioinputselectorcontrol/5.0

定义接口名为 QAudioInputSelectorControl 类。