QAudioInputSelectorControlclass provides an audio input selector media control. 更多 …
QAudioInputSelectorControlclass 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
QAudioInputSelectorControlisorg.qt-project.qt.audioinputselectorcontrol/5.0作为定义在QAudioInputSelectorControl_iid.另请参阅
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.
另请参阅
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
.
另请参阅