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
QAudioOutputSelectorControl
([parent=None])¶ - param parent
QObject
Constructs a new audio output selector control with the given
parent
.
-
PySide2.QtMultimedia.QAudioOutputSelectorControl.
activeOutput
()¶ - Return type
unicode
Returns the name of the currently selected audio output.
See also
-
PySide2.QtMultimedia.QAudioOutputSelectorControl.
activeOutputChanged
(name)¶ - Parameters
name – unicode
-
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
unicode
Returns the name of the default audio output.
-
PySide2.QtMultimedia.QAudioOutputSelectorControl.
outputDescription
(name)¶ - Parameters
name – unicode
- Return type
unicode
Returns the description of the output
name
.
-
PySide2.QtMultimedia.QAudioOutputSelectorControl.
setActiveOutput
(name)¶ - Parameters
name – unicode
Set the active audio output to
name
.See also