QAudioOutputSelectorControlclass provides an audio output selector media control. 更多 …
QAudioOutputSelectorControlclass 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
QAudioOutputSelectorControlisorg.qt-project.qt.audiooutputselectorcontrol/5.0作为定义在QAudioOutputSelectorControl_iid.另请参阅
QAudioOutputSelectorControl
(
[
parent=None
]
)
¶
- param parent
QObject
Constructs a new audio output selector control with the given
parent
.
PySide2.QtMultimedia.QAudioOutputSelectorControl.
activeOutput
(
)
¶
unicode
Returns the name of the currently selected audio output.
另请参阅
PySide2.QtMultimedia.QAudioOutputSelectorControl.
activeOutputChanged
(
name
)
¶
name – unicode
PySide2.QtMultimedia.QAudioOutputSelectorControl.
availableOutputs
(
)
¶
Returns a list of the names of the available audio outputs.
PySide2.QtMultimedia.QAudioOutputSelectorControl.
availableOutputsChanged
(
)
¶
PySide2.QtMultimedia.QAudioOutputSelectorControl.
defaultOutput
(
)
¶
unicode
Returns the name of the default audio output.
PySide2.QtMultimedia.QAudioOutputSelectorControl.
outputDescription
(
name
)
¶
name – unicode
unicode
Returns the description of the output
name
.
PySide2.QtMultimedia.QAudioOutputSelectorControl.
setActiveOutput
(
name
)
¶
name – unicode
Set the active audio output to
name
.
另请参阅