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
org.qt-project.qt.mediaaudioprobecontrol/5.0
定义接口名为 QMediaAudioProbeControl 类。