diff options
author | Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com> | 2012-01-18 14:46:58 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-19 03:56:45 +0100 |
commit | 69cef0c24c1f6500d6047ae9c093fda26cf203a6 (patch) | |
tree | 364a7e22759f574ef502bed240b7764b261edd56 /examples/audiorecorder/audiorecorder.h | |
parent | 8c74e5e7e7a5654f1af670b6d40f98e736d1f7d9 (diff) |
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>
Diffstat (limited to 'examples/audiorecorder/audiorecorder.h')
-rw-r--r-- | examples/audiorecorder/audiorecorder.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/audiorecorder/audiorecorder.h b/examples/audiorecorder/audiorecorder.h index 1652af328..407513aea 100644 --- a/examples/audiorecorder/audiorecorder.h +++ b/examples/audiorecorder/audiorecorder.h @@ -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; |