内容表

上一话题

QAudioOutput

下一话题

QAudioProbe

QAudioOutputSelectorControl

QAudioOutputSelectorControl class provides an audio output selector media control. 更多

Inheritance diagram of PySide2.QtMultimedia.QAudioOutputSelectorControl

详细描述

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 作为定义在 QAudioOutputSelectorControl_iid .

另请参阅

requestControl()

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

另请参阅

setActiveOutput()

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 .

另请参阅

activeOutput()