QMediaAudioProbeControl 类

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

头: #include <QMediaAudioProbeControl>
qmake: QT += multimedia
继承: QMediaControl

该类已过时。 提供它是为使旧源代码能继续工作。强烈建议不要在新代码中使用它。

公共函数

virtual ~QMediaAudioProbeControl ()

信号

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

保护函数

QMediaAudioProbeControl (QObject * parent = nullptr)

QMediaAudioProbeControl_iid

详细描述

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 作为定义在 QMediaAudioProbeControl_iid .

另请参阅 QAudioProbe , QMediaService::requestControl (), QMediaPlayer ,和 QCamera .

成员函数文档编制

[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.

[虚拟] QMediaAudioProbeControl:: ~QMediaAudioProbeControl ()

Destroys this audio probe control

宏文档编制

QMediaAudioProbeControl_iid

org.qt-project.qt.mediaaudioprobecontrol/5.0

定义接口名为 QMediaAudioProbeControl 类。