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

Detailed Description¶
This class implements the audio functionality for
QAudioDeviceInfo, i.e.,QAudioDeviceInfokeeps aQAbstractAudioDeviceInfoand routes function calls to it. For a description of the functionality thatQAbstractAudioDeviceInfoimplements, you can read the class and functions documentation ofQAudioDeviceInfo.
- 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 - formatis 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. 
© 2022 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.
