Changes to media probing API.

Added flush signals.

Change-Id: I9c124317e843c9b9011e69c44649ae9a4e974161
Reviewed-by: Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com>
This commit is contained in:
Lev Zelenskiy
2012-02-09 16:40:10 +10:00
committed by Qt by Nokia
parent 7b3d3ae453
commit 32b68f17f5
8 changed files with 56 additions and 2 deletions

View File

@@ -92,6 +92,13 @@ QMediaAudioProbeControl::~QMediaAudioProbeControl()
media service.
*/
/*!
\fn QMediaAudioProbeControl::flush()
This signal should be emitted when it is required to release all frames.
*/
#include "moc_qmediaaudioprobecontrol.cpp"
QT_END_NAMESPACE

View File

@@ -59,6 +59,7 @@ public:
signals:
void audioBufferProbed(const QAudioBuffer &buffer);
void flush();
protected:
explicit QMediaAudioProbeControl(QObject *parent = 0);

View File

@@ -92,6 +92,12 @@ QMediaVideoProbeControl::~QMediaVideoProbeControl()
media service.
*/
/*!
\fn QMediaVideoProbeControl::flush()
This signal should be emitted when it is required to release all frames.
*/
#include "moc_qmediavideoprobecontrol.cpp"
QT_END_NAMESPACE

View File

@@ -61,6 +61,7 @@ public:
signals:
void videoFrameProbed(const QVideoFrame &frame);
void flush();
protected:
explicit QMediaVideoProbeControl(QObject *parent = 0);