QCustomAudioRoleControl Class

The QCustomAudioRoleControl class provides control over the audio role of a media object. More...

Header: #include <QCustomAudioRoleControl>
qmake: QT += multimedia
Since: Qt 5.11
Inherits: QMediaControl

This class is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

This class was introduced in Qt 5.11.

Macros

Detailed Description

If a QMediaService supports audio roles it may implement QCustomAudioRoleControl in order to provide access to roles unknown to Qt.

The functionality provided by this control is exposed to application code through the QMediaPlayer class.

The interface name of QCustomAudioRoleControl is org.qt-project.qt.customaudiorolecontrol/5.11 as defined in QCustomAudioRoleControl_iid.

See also QMediaService::requestControl() and QMediaPlayer.

Macro Documentation

QCustomAudioRoleControl_iid

org.qt-project.qt.customaudiorolecontrol/5.11

Defines the interface name of the QCustomAudioRoleControl class.