QAudioOutputSelectorControl

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

Inheritance diagram of PySide2.QtMultimedia.QAudioOutputSelectorControl

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 is org.qt-project.qt.audiooutputselectorcontrol/5.0 as defined in QAudioOutputSelectorControl_iid .

See also

requestControl()

class PySide2.QtMultimedia.QAudioOutputSelectorControl([parent=None])
param parent:

PySide2.QtCore.QObject

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.

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

activeOutput()