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.
© 2018 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.