内容表

上一话题

QCamera.FrameRateRange

下一话题

QAbstractAudioInput

QAbstractAudioDeviceInfo

QAbstractAudioDeviceInfo class is a base class for audio backends. 更多

Inheritance diagram of PySide2.QtMultimedia.QAbstractAudioDeviceInfo

详细描述

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 QAbstractAudioDeviceInfo
PySide2.QtMultimedia.QAbstractAudioDeviceInfo. deviceName ( )
返回类型

unicode

Returns the audio device name.

PySide2.QtMultimedia.QAbstractAudioDeviceInfo. isFormatSupported ( format )
参数

format QAudioFormat

返回类型

bool

返回 true 若 format is available from audio device.

PySide2.QtMultimedia.QAbstractAudioDeviceInfo. preferredFormat ( )
返回类型

QAudioFormat

Returns the recommended settings to use.

PySide2.QtMultimedia.QAbstractAudioDeviceInfo. supportedByteOrders ( )
返回类型

Returns the list of currently available byte orders.

PySide2.QtMultimedia.QAbstractAudioDeviceInfo. supportedChannelCounts ( )
返回类型

Returns the list of currently available channels.

PySide2.QtMultimedia.QAbstractAudioDeviceInfo. supportedCodecs ( )
返回类型

字符串列表

Returns the list of currently available codecs.

PySide2.QtMultimedia.QAbstractAudioDeviceInfo. supportedSampleRates ( )
返回类型

Returns the list of currently available sample rates.

PySide2.QtMultimedia.QAbstractAudioDeviceInfo. supportedSampleSizes ( )
返回类型

Returns the list of currently available sample sizes.

PySide2.QtMultimedia.QAbstractAudioDeviceInfo. supportedSampleTypes ( )
返回类型

Returns the list of currently available sample types.