QAudioInput#

Represents an input channel for audio. More

Synopsis#

Functions#

Slots#

Signals#

Detailed Description#

This class represents an input channel that can be used together with QMediaCaptureSession . It enables the selection of the physical input device to be used, muting the channel, and changing the channel’s volume.

class PySide6.QtMultimedia.QAudioInput([parent=None])#

PySide6.QtMultimedia.QAudioInput(deviceInfo[, parent=None])

Parameters
PySide6.QtMultimedia.QAudioInput.device()#
Return type

PySide6.QtMultimedia.QAudioDevice

This property holds The audio device connected to this input..

The device property represents the audio device connected to this input. This property can be used to select an input device from the audioInputs() list.

You can select the system default audio input by setting this property to a default constructed QAudioDevice object.

PySide6.QtMultimedia.QAudioInput.deviceChanged()#
PySide6.QtMultimedia.QAudioInput.isMuted()#
Return type

bool

This property holds The muted state of the current media..

The value will be true if the input is muted; otherwise false.

PySide6.QtMultimedia.QAudioInput.mutedChanged(muted)#
Parameters

muted – bool

PySide6.QtMultimedia.QAudioInput.setDevice(device)#
Parameters

devicePySide6.QtMultimedia.QAudioDevice

This property holds The audio device connected to this input..

The device property represents the audio device connected to this input. This property can be used to select an input device from the audioInputs() list.

You can select the system default audio input by setting this property to a default constructed QAudioDevice object.

PySide6.QtMultimedia.QAudioInput.setMuted(muted)#
Parameters

muted – bool

This property holds The muted state of the current media..

The value will be true if the input is muted; otherwise false.

PySide6.QtMultimedia.QAudioInput.setVolume(volume)#
Parameters

volume – float

PySide6.QtMultimedia.QAudioInput.volume()#
Return type

float

PySide6.QtMultimedia.QAudioInput.volumeChanged(volume)#
Parameters

volume – float