QAbstractAudioDeviceInfo¶

The QAbstractAudioDeviceInfo class is a base class for audio backends. More…

Inheritance diagram of PySide2.QtMultimedia.QAbstractAudioDeviceInfo

Detailed Description¶

This class implements the audio functionality for QAudioDeviceInfo , i.e., QAudioDeviceInfo keeps a QAbstractAudioDeviceInfo and routes function calls to it. For a description of the functionality that QAbstractAudioDeviceInfo implements, you can read the class and functions documentation of QAudioDeviceInfo .

class PySide2.QtMultimedia.QAbstractAudioDeviceInfo¶
PySide2.QtMultimedia.QAbstractAudioDeviceInfo.deviceName()¶
Return type:

str

Returns the audio device name.

PySide2.QtMultimedia.QAbstractAudioDeviceInfo.isFormatSupported(format)¶
Parameters:

format – PySide2.QtMultimedia.QAudioFormat

Return type:

bool

Returns true if format is available from audio device.

PySide2.QtMultimedia.QAbstractAudioDeviceInfo.preferredFormat()¶
Return type:

PySide2.QtMultimedia.QAudioFormat

Returns the recommended settings to use.

PySide2.QtMultimedia.QAbstractAudioDeviceInfo.supportedByteOrders()¶
Return type:

Returns the list of currently available byte orders.

PySide2.QtMultimedia.QAbstractAudioDeviceInfo.supportedChannelCounts()¶
Return type:

Returns the list of currently available channels.

PySide2.QtMultimedia.QAbstractAudioDeviceInfo.supportedCodecs()¶
Return type:

list of strings

Returns the list of currently available codecs.

PySide2.QtMultimedia.QAbstractAudioDeviceInfo.supportedSampleRates()¶
Return type:

Returns the list of currently available sample rates.

PySide2.QtMultimedia.QAbstractAudioDeviceInfo.supportedSampleSizes()¶
Return type:

Returns the list of currently available sample sizes.

PySide2.QtMultimedia.QAbstractAudioDeviceInfo.supportedSampleTypes()¶
Return type:

Returns the list of currently available sample types.