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

Detailed Description¶
This class implements the audio functionality for
QAudioDeviceInfo
, i.e.,QAudioDeviceInfo
keeps aQAbstractAudioDeviceInfo
and routes function calls to it. For a description of the functionality thatQAbstractAudioDeviceInfo
implements, you can read the class and functions documentation ofQAudioDeviceInfo
.
-
class
QAbstractAudioDeviceInfo
¶
-
PySide2.QtMultimedia.QAbstractAudioDeviceInfo.
deviceName
()¶ - Return type
unicode
Returns the audio device name.
-
PySide2.QtMultimedia.QAbstractAudioDeviceInfo.
isFormatSupported
(format)¶ - Parameters
format –
QAudioFormat
- Return type
bool
Returns true if
format
is available from audio device.
-
PySide2.QtMultimedia.QAbstractAudioDeviceInfo.
preferredFormat
()¶ - Return type
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.