QMediaAudioProbeControl Class

The QMediaAudioProbeControl class allows control over probing audio data in media objects. More...

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

Public Functions

Signals

void audioBufferProbed(const QAudioBuffer &buffer)
void flush()

Protected Functions

QMediaAudioProbeControl(QObject *parent = nullptr)

Macros

Detailed Description

QAudioProbe is the client facing class for probing audio - this class is implemented by media backends to provide this functionality.

The interface name of QMediaAudioProbeControl is org.qt-project.qt.mediaaudioprobecontrol/5.0 as defined in QMediaAudioProbeControl_iid.

See also QAudioProbe, QMediaService::requestControl(), QMediaPlayer, and QCamera.

Member Function Documentation

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

Create a new media audio probe control object with the given parent.

[signal] void QMediaAudioProbeControl::audioBufferProbed(const QAudioBuffer &buffer)

This signal should be emitted when an audio buffer is processed in the media service.

[signal] void QMediaAudioProbeControl::flush()

This signal should be emitted when it is required to release all frames.

[virtual] QMediaAudioProbeControl::~QMediaAudioProbeControl()

Destroys this audio probe control

Macro Documentation

QMediaAudioProbeControl_iid

org.qt-project.qt.mediaaudioprobecontrol/5.0

Defines the interface name of the QMediaAudioProbeControl class.

© 2020 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.