QAudioOutputSelectorControl¶
The
QAudioOutputSelectorControl
class provides an audio output selector media control. More…

Detailed Description¶
The
QAudioOutputSelectorControl
class 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
QAudioOutputSelectorControl
isorg.qt-project.qt.audiooutputselectorcontrol/5.0
as defined inQAudioOutputSelectorControl_iid
.See also
-
class
PySide2.QtMultimedia.
QAudioOutputSelectorControl
([parent=None])¶ - param parent
Constructs a new audio output selector control with the given
parent
.
-
PySide2.QtMultimedia.QAudioOutputSelectorControl.
activeOutput
()¶ - Return type
str
Returns the name of the currently selected audio output.
See also
-
PySide2.QtMultimedia.QAudioOutputSelectorControl.
activeOutputChanged
(name)¶ - Parameters
name – str
-
PySide2.QtMultimedia.QAudioOutputSelectorControl.
availableOutputs
()¶ - Return type
Returns a list of the names of the available audio outputs.
-
PySide2.QtMultimedia.QAudioOutputSelectorControl.
availableOutputsChanged
()¶
-
PySide2.QtMultimedia.QAudioOutputSelectorControl.
defaultOutput
()¶ - Return type
str
Returns the name of the default audio output.
-
PySide2.QtMultimedia.QAudioOutputSelectorControl.
outputDescription
(name)¶ - Parameters
name – str
- Return type
str
Returns the description of the output
name
.
-
PySide2.QtMultimedia.QAudioOutputSelectorControl.
setActiveOutput
(name)¶ - Parameters
name – str
Set the active audio output to
name
.See also
© 2020 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.