QAudioEncoderSettingsControl Class

The QAudioEncoderSettingsControl class provides access to the settings of a media service that performs audio encoding. More...

Header: #include <QAudioEncoderSettingsControl>
qmake: QT += multimedia
Inherits: QMediaControl

Public Functions

  • 30 public functions inherited from QObject

Protected Functions

QAudioEncoderSettingsControl(QObject *parent = nullptr)
  • 9 protected functions inherited from QObject
typedef QObjectList
QList<T> qFindChildren(const QObject *obj, const QRegExp &regExp)
T qobject_cast(QObject *object)
T qobject_cast(const QObject *object)

Macros

Additional Inherited Members

  • 1 property inherited from QObject
  • 1 public slot inherited from QObject
  • 2 signals inherited from QObject
  • 9 static public members inherited from QObject

Detailed Description

If a QMediaService supports encoding audio data it will implement QAudioEncoderSettingsControl. 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 a QAudioEncoderSettings object.

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

The interface name of QAudioEncoderSettingsControl is org.qt-project.qt.audioencodersettingscontrol/5.0 as defined in QAudioEncoderSettingsControl_iid.

See also QMediaService::requestControl() and QMediaRecorder.

Member Function Documentation

[protected] QAudioEncoderSettingsControl::QAudioEncoderSettingsControl(QObject *parent = nullptr)

Create a new audio encoder settings control object with the given parent.

[virtual] QAudioEncoderSettingsControl::~QAudioEncoderSettingsControl()

Destroys the audio encoder settings control.

Macro Documentation

QAudioEncoderSettingsControl::QAudioEncoderSettingsControl_iid

org.qt-project.qt.audioencodersettingscontrol/5.0

Defines the interface name of the QAudioEncoderSettingsControl class.