QAudioRoleControl¶
The
QAudioRoleControl
class provides control over the audio role of a media object. More…
Detailed Description¶
If a
QMediaService
supports audio roles it will implementQAudioRoleControl
.The functionality provided by this control is exposed to application code through the
QMediaPlayer
class.The interface name of
QAudioRoleControl
isorg.qt-project.qt.audiorolecontrol/5.6
as defined inQAudioRoleControl_iid
.See also
- class PySide2.QtMultimedia.QAudioRoleControl([parent=None])¶
- param parent:
Construct a
QAudioRoleControl
with the givenparent
.
- PySide2.QtMultimedia.QAudioRoleControl.audioRole()¶
- Return type:
Returns the audio role of the media played by the media service.
See also
- PySide2.QtMultimedia.QAudioRoleControl.setAudioRole(role)¶
- Parameters:
role –
Role
Sets the audio
role
of the media played by the media service.See also
- PySide2.QtMultimedia.QAudioRoleControl.supportedAudioRoles()¶
- Return type:
Returns a list of audio roles that the media service supports.
© 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.