Added QMediaRecorder::status property
QMediaRecorder::state property represents the user request and changed synchronously during record(), pause() or stop() calls. Recorder status is changed asynchronously and represents the actual status of media recorder. This also makes API more consistent with QMediaPlayer and QCamera. Change-Id: I80b4aaa70bb88e555c492908da8c29d0fc5ed5ea Reviewed-by: Ling Hu <ling.hu@nokia.com>
This commit is contained in:
committed by
Qt by Nokia
parent
af932e8653
commit
b7935a84d7
@@ -67,6 +67,7 @@ public:
|
||||
virtual bool setOutputLocation(const QUrl &location) = 0;
|
||||
|
||||
virtual QMediaRecorder::State state() const = 0;
|
||||
virtual QMediaRecorder::Status status() const = 0;
|
||||
|
||||
virtual qint64 duration() const = 0;
|
||||
|
||||
@@ -76,6 +77,7 @@ public:
|
||||
|
||||
Q_SIGNALS:
|
||||
void stateChanged(QMediaRecorder::State state);
|
||||
void statusChanged(QMediaRecorder::Status status);
|
||||
void durationChanged(qint64 position);
|
||||
void mutedChanged(bool muted);
|
||||
void actualLocationChanged(const QUrl &location);
|
||||
|
||||
Reference in New Issue
Block a user