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 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.

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

activeOutput()