QAudioOutput

Represents an output channel for audio. More

Inheritance diagram of PySide6.QtMultimedia.QAudioOutput

Synopsis

Functions

Detailed Description

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

class PySide6.QtMultimedia.QAudioOutput([parent=None])

PySide6.QtMultimedia.QAudioOutput(device[, parent=None])

Parameters
PySide6.QtMultimedia.QAudioOutput.device()
Return type

PySide6.QtMultimedia.QAudioDevice

See also

setDevice()

PySide6.QtMultimedia.QAudioOutput.deviceChanged()
PySide6.QtMultimedia.QAudioOutput.isMuted()
Return type

bool

PySide6.QtMultimedia.QAudioOutput.mutedChanged(muted)
Parameters

muted – bool

PySide6.QtMultimedia.QAudioOutput.setDevice(device)
Parameters

devicePySide6.QtMultimedia.QAudioDevice

See also

device()

PySide6.QtMultimedia.QAudioOutput.setMuted(muted)
Parameters

muted – bool

See also

isMuted()

PySide6.QtMultimedia.QAudioOutput.setVolume(volume)
Parameters

volume – float

See also

volume()

PySide6.QtMultimedia.QAudioOutput.volume()
Return type

float

See also

setVolume()

PySide6.QtMultimedia.QAudioOutput.volumeChanged(volume)
Parameters

volume – float