内容表

上一话题

QAudioInput

下一话题

QAudioOutput

QAudioInputSelectorControl

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

Inheritance diagram of PySide2.QtMultimedia.QAudioInputSelectorControl

详细描述

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 作为定义在 QAudioInputSelectorControl_iid .

另请参阅

requestControl()

class QAudioInputSelectorControl ( [ parent=None ] )
param parent

QObject

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

PySide2.QtMultimedia.QAudioInputSelectorControl. activeInput ( )
返回类型

unicode

Returns the name of the currently selected audio input.

另请参阅

setActiveInput()

PySide2.QtMultimedia.QAudioInputSelectorControl. activeInputChanged ( name )
参数

name – unicode

PySide2.QtMultimedia.QAudioInputSelectorControl. availableInputs ( )
返回类型

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

PySide2.QtMultimedia.QAudioInputSelectorControl. availableInputsChanged ( )
PySide2.QtMultimedia.QAudioInputSelectorControl. defaultInput ( )
返回类型

unicode

Returns the name of the default audio input.

PySide2.QtMultimedia.QAudioInputSelectorControl. inputDescription ( name )
参数

name – unicode

返回类型

unicode

Returns the description of the input name .

PySide2.QtMultimedia.QAudioInputSelectorControl. setActiveInput ( name )
参数

name – unicode

Set the active audio input to name .

另请参阅

activeInput()