QAudioInputSelectorControl

The QAudioInputSelectorControl class provides an audio input selector media control. More

Inheritance diagram of PySide2.QtMultimedia.QAudioInputSelectorControl

Detailed Description

The QAudioInputSelectorControl class provides descriptions of the audio inputs available on a system and allows one to be selected as the audio input of a media service.

The interface name of QAudioInputSelectorControl is org.qt-project.qt.audioinputselectorcontrol/5.0 as defined in QAudioInputSelectorControl_iid .

See also

requestControl()

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

PySide2.QtCore.QObject

Constructs a new audio input selector control with the given parent .

PySide2.QtMultimedia.QAudioInputSelectorControl.activeInput()
Return type:

str

Returns the name of the currently selected audio input.

See also

setActiveInput()

PySide2.QtMultimedia.QAudioInputSelectorControl.activeInputChanged(name)
Parameters:

name – str

PySide2.QtMultimedia.QAudioInputSelectorControl.availableInputs()
Return type:

Returns a list of the names of the available audio inputs.

PySide2.QtMultimedia.QAudioInputSelectorControl.availableInputsChanged()
PySide2.QtMultimedia.QAudioInputSelectorControl.defaultInput()
Return type:

str

Returns the name of the default audio input.

PySide2.QtMultimedia.QAudioInputSelectorControl.inputDescription(name)
Parameters:

name – str

Return type:

str

Returns the description of the input name .

PySide2.QtMultimedia.QAudioInputSelectorControl.setActiveInput(name)
Parameters:

name – str

Set the active audio input to name .

See also

activeInput()