QAudioEncoderSettingsControl¶
The
QAudioEncoderSettingsControl
class provides access to the settings of a media service that performs audio encoding. More…
Detailed Description¶
If a
QMediaService
supports encoding audio data it will implementQAudioEncoderSettingsControl
. This control provides information about the limits of restricted audio encoder options and allows the selection of a set of audio encoder settings as specified in aQAudioEncoderSettings
object.The functionality provided by this control is exposed to application code through the
QMediaRecorder
class.The interface name of
QAudioEncoderSettingsControl
isorg.qt-project.qt.audioencodersettingscontrol/5.0
as defined inQAudioEncoderSettingsControl_iid
.See also
- class PySide2.QtMultimedia.QAudioEncoderSettingsControl([parent=None])¶
- param parent:
Create a new audio encoder settings control object with the given
parent
.
- PySide2.QtMultimedia.QAudioEncoderSettingsControl.audioSettings()¶
- Return type:
Returns the audio encoder settings.
The returned value may be different tha passed to
setAudioSettings()
if the settings contains the default or undefined parameters. In this case if the undefined parameters are already resolved, they should be returned.See also
- PySide2.QtMultimedia.QAudioEncoderSettingsControl.codecDescription(codecName)¶
- Parameters:
codecName – str
- Return type:
str
Returns the description of audio codec
codecName
.
- PySide2.QtMultimedia.QAudioEncoderSettingsControl.setAudioSettings(settings)¶
- Parameters:
settings –
PySide2.QtMultimedia.QAudioEncoderSettings
Sets the selected audio
settings
.See also
- PySide2.QtMultimedia.QAudioEncoderSettingsControl.supportedAudioCodecs()¶
- Return type:
list of strings
Returns the list of supported audio codec names.
© 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.