Replaced QAudioCaptureSource with QAudioRecorder.
QAudioCaptureSource name is confusing, it's essentially an audio recording service but it's not evident from API. QAudioRecorder replaces QAudioCaptureSource+QMediaRecorder combination. Change-Id: I0082d766fc0d1b8d5ecbfc527f13e715add730c8 Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
This commit is contained in:
committed by
Qt by Nokia
parent
8c74e5e7e7
commit
69cef0c24c
@@ -53,7 +53,7 @@ namespace Ui {
|
||||
class AudioRecorder;
|
||||
}
|
||||
|
||||
class QAudioCaptureSource;
|
||||
class QAudioRecorder;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
QT_USE_NAMESPACE
|
||||
@@ -78,8 +78,7 @@ private slots:
|
||||
private:
|
||||
Ui::AudioRecorder *ui;
|
||||
|
||||
QAudioCaptureSource* audiosource;
|
||||
QMediaRecorder* capture;
|
||||
QAudioRecorder* audioRecorder;
|
||||
QAudioEncoderSettings audioSettings;
|
||||
bool outputLocationSet;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user